comparison .chezmoitemplates/init.lua @ 500:c6624d04906a

Add treesitter based textobjects
author zegervdv <zegervdv@me.com>
date Sun, 05 Dec 2021 14:30:31 +0100
parents 568791ef3a16
children 6b6da9305782
comparison
equal deleted inserted replaced
499:568791ef3a16 500:c6624d04906a
345 goto_next_start = { [']]'] = '@block.outer' }, 345 goto_next_start = { [']]'] = '@block.outer' },
346 goto_previous_start = { ['[['] = '@block.outer' }, 346 goto_previous_start = { ['[['] = '@block.outer' },
347 goto_next_end = { [']['] = '@block.outer' }, 347 goto_next_end = { [']['] = '@block.outer' },
348 goto_previous_end = { ['[]'] = '@block.outer' }, 348 goto_previous_end = { ['[]'] = '@block.outer' },
349 }, 349 },
350 select = {
351 enable = true,
352 lookahead = true,
353 keymaps = {
354 ['af'] = '@function.outer',
355 ['if'] = '@function.inner',
356 },
357 },
350 }, 358 },
351 playground = { enable = true, disable = {}, updatetime = 25, persist_queries = false }, 359 playground = { enable = true, disable = {}, updatetime = 25, persist_queries = false },
352 } 360 }
353 end, 361 end,
354 }, 362 },