summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after/plugin/treesitter.lua')
-rw-r--r--.config/nvim/after/plugin/treesitter.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua
index 7865930..bbe666f 100644
--- a/.config/nvim/after/plugin/treesitter.lua
+++ b/.config/nvim/after/plugin/treesitter.lua
@@ -1,6 +1,6 @@
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all" (the five listed parsers should always be installed)
- ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "query", "go", "rust" },
+ ensure_installed = { 'c', 'cpp', 'lua', 'vim', 'vimdoc', 'query', 'go', 'rust', 'yaml' },
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
@@ -18,4 +18,10 @@ require'nvim-treesitter.configs'.setup {
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
+ incremental_selection = {
+ enable = true,
+ },
+ indent = {
+ enable = true,
+ },
}