diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 8cc78a8..9c585b0 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -21,7 +21,12 @@ local function setup() highlight = { enable = true, disable = {}, - additional_vim_regex_highlighting = { "org", }, + + -- Setting this to true will run `:h syntax` and tree-sitter at the same time. + -- 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 = { "org", "php" }, }, })