From 6927e675d5ace508e897a56fc58dbdbaaf0d70b6 Mon Sep 17 00:00:00 2001 From: Simon Lasbrugnas Date: Fri, 11 Aug 2023 13:38:51 +0200 Subject: [PATCH] feat: add good syntax highlighting for twig files --- after/plugin/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index 9e772fe..6d76db4 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -17,7 +17,7 @@ require'nvim-treesitter.configs'.setup { -- Set this to `true` if you depend on 'syntax' being enabled (like for indentation). -- Using this option may slow down your editor, and you may see some duplicate highlights. -- Instead of true it can also be a list of languages - additional_vim_regex_highlighting = { "php" } + additional_vim_regex_highlighting = { "php", "twig" } }, }