Add ac/ic text objects for outer/inner class

This commit is contained in:
Kenneth Benzie (Benie) 2024-05-02 16:15:54 +01:00
parent d4228e37b8
commit 06c8f8a751

View File

@ -79,6 +79,9 @@ return {
lookahead = true, lookahead = true,
-- include_surrounding_whitespace = true, -- include_surrounding_whitespace = true,
keymaps = { keymaps = {
-- Class text objects
['ac'] = '@class.outer',
['ic'] = '@class.inner',
-- Function text objects -- Function text objects
['af'] = '@function.outer', ['af'] = '@function.outer',
['if'] = '@function.inner', ['if'] = '@function.inner',