diff options
| author | srdusr <trevorgray@srdusr.com> | 2022-10-14 23:43:14 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2022-10-14 23:43:14 +0200 |
| commit | 2d2c18e3b61a1883190fcd3c9dd9ab86002ddeab (patch) | |
| tree | 614ed8e17635606d70f198c916591f5011d36155 /lua/plugins/treesitter.lua | |
| parent | 86628d459cabd0c29f0cdbb699e2e18807b958ed (diff) | |
| download | dotfiles-2d2c18e3b61a1883190fcd3c9dd9ab86002ddeab.tar.gz dotfiles-2d2c18e3b61a1883190fcd3c9dd9ab86002ddeab.zip | |
Updated nvim-cmp & lsp: config/saga
Diffstat (limited to 'lua/plugins/treesitter.lua')
| -rw-r--r-- | lua/plugins/treesitter.lua | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 261e262..b081ca3 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -11,26 +11,21 @@ treesitter.setup { disable = {}, --disable = { "python", "css" } }, - --ensure_installed = { - -- "c", - -- "zsh", - -- "lua" - -- --"rust", - -- --"php", - -- --"json", - -- --"yaml", - -- --"swift", - -- --"css", - -- --"html", - -- --"toml", - -- --"tsx", - --}, - ensure_installed = "all", -- one of "all" or a list of languages + ensure_installed = { + "c", + "bash", + "lua", + "rust", + }, + --ensure_installed = "all", -- one of "all" or a list of languages --ignore_install = { "" }, -- List of parsers to ignore installing - autotag = { enable = true, }, + efactor = { + highlight_definitions = { enable = true }, + highlight_current_scope = { enable = true } + } } --vim.opt.foldmethod = "expr" --vim.opt.foldexpr = "nvim_treesitter#foldexpr()" |
