i use arch btw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add nvim-treesitter-textobjects

+31
+31
nvim/.config/nvim/lua/plugins.lua
··· 126 126 } 127 127 128 128 use { 129 + 'nvim-treesitter/nvim-treesitter-textobjects', 130 + after = { 'nvim-treesitter' }, 131 + config = function() 132 + require('nvim-treesitter.configs').setup { 133 + textobjects = { 134 + select = { 135 + enable = true, 136 + lookahead = true, 137 + keymaps = { 138 + ['af'] = '@function.outer', 139 + ['if'] = '@function.inner', 140 + ['ac'] = '@comment.outer', 141 + }, 142 + selection_modes = { 143 + ['@function.outer'] = 'V', 144 + ['@function.inner'] = 'V', 145 + }, 146 + }, 147 + move = { 148 + enable = true, 149 + set_jumps = true, 150 + goto_next_start = { 151 + [']m'] = '@function.outer', 152 + }, 153 + }, 154 + }, 155 + } 156 + end, 157 + } 158 + 159 + use { 129 160 'kevinhwang91/nvim-hlslens', 130 161 config = function() 131 162 require('hlslens').setup {