mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Docs: fix textobjects
This commit is contained in:
parent
7f81df4409
commit
7e704852dc
1 changed files with 4 additions and 1 deletions
|
|
@ -211,6 +211,7 @@ similar to `ip` (inner paragraph) and `ap` (a paragraph).
|
|||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
textobjects = {
|
||||
enable = true,
|
||||
select = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
|
|
@ -243,6 +244,7 @@ like function parameters or arguments.
|
|||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
textobjects = {
|
||||
enable = true,
|
||||
swap = {
|
||||
enable = true,
|
||||
swap_next = {
|
||||
|
|
@ -267,7 +269,8 @@ or previous function.
|
|||
lua <<EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
textobjects = {
|
||||
move {
|
||||
enable = true,
|
||||
move = {
|
||||
enable = true,
|
||||
goto_next_start = {
|
||||
["]m"] = "@function.outer",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue