nixos-config/home-manager/neovim/treesitter.lua

15 lines
330 B
Lua
Raw Normal View History

2022-06-20 13:49:53 +00:00
require('nvim-treesitter.configs').setup({
2022-08-22 05:56:10 +00:00
highlight = {
enable = true,
},
incremental_selection = {
2022-08-22 05:56:10 +00:00
enable = true,
keymaps = {
init_selection = "v",
node_decremental = "<",
node_incremental = ">",
scope_incremental = false,
},
2022-08-22 05:56:10 +00:00
},
2022-06-20 13:49:53 +00:00
})