From 679f901ec1cc8b481271cb4d9a1626d6db8eb603 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Thu, 29 Feb 2024 16:25:09 +0100 Subject: [PATCH] fix(php): fix indentation for php --- lua/plugins/treesitter.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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" }, }, })