diff options
Diffstat (limited to 'lua/treesitter.lua')
-rw-r--r-- | lua/treesitter.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/treesitter.lua b/lua/treesitter.lua new file mode 100644 index 0000000..d503b46 --- /dev/null +++ b/lua/treesitter.lua | |||
@@ -0,0 +1,18 @@ | |||
1 | require'nvim-treesitter.configs'.setup { | ||
2 | highlight = { | ||
3 | enable = true, | ||
4 | |||
5 | }, | ||
6 | incremental_selection = { | ||
7 | enable = true, | ||
8 | keymaps = { | ||
9 | init_selection = "gnn", | ||
10 | node_incremental = "g}", | ||
11 | scope_incremental = "grc", | ||
12 | node_decremental = "g{", | ||
13 | }, | ||
14 | }, | ||
15 | indent = { | ||
16 | enable = false | ||
17 | } | ||
18 | } | ||