diff options
| author | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-03 14:57:50 +0100 |
|---|---|---|
| committer | Vito G. Graffagnino <vito@graffagnino.xyz> | 2022-06-03 14:57:50 +0100 |
| commit | 06a4f3a8c25a1a7b9be9301f77a12d8c12397bb9 (patch) | |
| tree | 3360eabc42625120150054cf140723fd05be3754 /lua/user/treesitter.lua | |
| parent | 08e7bed730d1be47ff1030308f72c69e52cffca1 (diff) | |
| parent | f671fc644de5edbeb4692df3b1b763754e22fb16 (diff) | |
Merge branch '08-treesitter' into vgg
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" } }, +} |
