aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2022-10-14 23:43:14 +0200
committersrdusr <trevorgray@srdusr.com>2022-10-14 23:43:14 +0200
commit2d2c18e3b61a1883190fcd3c9dd9ab86002ddeab (patch)
tree614ed8e17635606d70f198c916591f5011d36155 /lua/plugins/treesitter.lua
parent86628d459cabd0c29f0cdbb699e2e18807b958ed (diff)
downloaddotfiles-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.lua27
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()"