summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorevakuator <kuatabylkasymov@gmail.com>2020-08-19 21:58:18 +0600
committerKiyan Yazdani <yazdani.kiyan@protonmail.com>2020-08-20 09:00:46 +0200
commit7e704852dcbd5a1903f17bd19068f69ef51c699c (patch)
tree0a65f4e720facad8e9ae63d9c07e0f1d65940216 /README.md
parent7f81df44098a7fef93d6901a06b8312c5b8619d7 (diff)
Docs: fix textobjects
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index e616f989..826e0c60 100644
--- a/README.md
+++ b/README.md
@@ -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",