feat(tree-sitter): add function call text object
Changes: - Bind `F` to the function call text object - Add the text object to the table - Realign table so it looks right to people who don't hide emphasis markers
This commit is contained in:
parent
c0637e9e00
commit
cb269deed6
2 changed files with 11 additions and 8 deletions
|
@ -57,13 +57,14 @@ Not all language support all text objects (yet). [[https://github.com/nvim-trees
|
|||
objects languages support]]
|
||||
Note: only languages with parsers in emacs have text object support currently.
|
||||
Currently text objects are bound to:
|
||||
| key | text object |
|
||||
|-----+-------------|
|
||||
| =f= | function |
|
||||
| =C= | class |
|
||||
| =c= | comment |
|
||||
| =i= | conditional |
|
||||
| =l= | loop |
|
||||
| key | text object |
|
||||
|-----+---------------------|
|
||||
| =f= | function definition |
|
||||
| =F= | function call |
|
||||
| =C= | class |
|
||||
| =c= | comment |
|
||||
| =i= | conditional |
|
||||
| =l= | loop |
|
||||
|
||||
They are used in a container context (not =vf= but =vaf= or =vif=)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue