diff --git a/nix/base-system/init.lua b/nix/base-system/init.lua index 12623c9..f15e494 100644 --- a/nix/base-system/init.lua +++ b/nix/base-system/init.lua @@ -320,31 +320,15 @@ require('nvim-treesitter.configs').setup { extended_mode = true, max_file_lines = nil, }, - --textobjects = { - -- enable = true, - -- select = { - -- enable = true, - -- lookahead = true, -- Automatically jump forward to textobj, similar to targets.vim - -- keymaps = { - -- -- You can use the capture groups defined in textobjects.scm - -- ['aa'] = '@parameter.outer', - -- ['ia'] = '@parameter.inner', - -- ['af'] = '@function.outer', - -- ['if'] = '@function.inner', - -- ['ac'] = '@class.outer', - -- ['ic'] = '@class.inner', - -- }, - -- }, - --}, - --incremental_selection = { - -- enable = true, - -- keymaps = { - -- init_selection = 'c', - -- node_incremental = 'c', - -- scope_incremental = 'ci', - -- node_decremental = 'cx', - -- }, - --}, + incremental_selection = { + enable = true, + keymaps = { + init_selection = 'c', + node_incremental = 'c', + scope_incremental = 'ci', + node_decremental = 'cx', + }, + }, } require 'treesitter-context'.setup {