programs: neovim: fix nvim-treesitter typo

This commit is contained in:
2024-02-20 10:23:52 +00:00
parent 36ad2d5421
commit a05184f956

View File

@@ -22,6 +22,7 @@ let
]); ]);
type = "lua"; type = "lua";
config = '' config = ''
-- lifted mostly from readme: <https://github.com/nvim-treesitter/nvim-treesitter>
require'nvim-treesitter.configs'.setup { require'nvim-treesitter.configs'.setup {
highlight = { highlight = {
enable = true, enable = true,
@@ -37,7 +38,7 @@ let
keymaps = { keymaps = {
init_selection = "gnn", init_selection = "gnn",
node_incremental = "grn", node_incremental = "grn",
mcope_incremental = "grc", scope_incremental = "grc",
node_decremental = "grm" node_decremental = "grm"
} }
}, },