Add ac/ic text objects for outer/inner class
This commit is contained in:
parent
d4228e37b8
commit
06c8f8a751
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user