aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
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()"