diff options
| author | christianchiarulli <chrisatmachine@gmail.com> | 2021-12-28 02:28:15 -0500 |
|---|---|---|
| committer | christianchiarulli <chrisatmachine@gmail.com> | 2021-12-28 02:28:15 -0500 |
| commit | 5b2777816a17b2d56c18cedb7b8bc1975539645e (patch) | |
| tree | 0a242af853b09f0a8f0f201f43ef12c395a35973 /lua/user/treesitter.lua | |
| parent | 63cb259f98568820d5af6f346bff88c8eab4029b (diff) | |
update
Diffstat (limited to 'lua/user/treesitter.lua')
| -rw-r--r-- | lua/user/treesitter.lua | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua index f00cc2d..7d45bd4 100644 --- a/lua/user/treesitter.lua +++ b/lua/user/treesitter.lua @@ -1,16 +1,27 @@ -local status_ok, configs = pcall(require, "nvim-treesitter.configs") -if not status_ok then - return -end + + + + + + + + + + + + + +local configs = require("nvim-treesitter.configs") configs.setup { - ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages - sync_install = false, -- install languages synchronously (only applied to `ensure_installed`) + 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" } }, } |
