diff options
Diffstat (limited to 'lua/user/treesitter.lua')
| -rw-r--r-- | lua/user/treesitter.lua | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua new file mode 100644 index 0000000..7d45bd4 --- /dev/null +++ b/lua/user/treesitter.lua @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + +local configs = require("nvim-treesitter.configs") +configs.setup { + ensure_installed = "maintained", + sync_install = false, + ignore_install = { "" }, -- List of parsers to ignore installing + highlight = { + enable = true, -- false will disable the whole extension + disable = { "" }, -- list of language that will be disabled + additional_vim_regex_highlighting = true, + + }, + indent = { enable = true, disable = { "yaml" } }, +} |
