aboutsummaryrefslogtreecommitdiffstats
path: root/doc/nvim-treesitter.txt
diff options
context:
space:
mode:
authorZhizhen He <hezhizhen.yi@gmail.com>2023-03-21 13:50:54 +0800
committerAmaan Qureshi <amaanq12@gmail.com>2023-03-21 02:23:52 -0400
commita1df50a79f0e422b3c99680071f32994893f3a3d (patch)
tree82afe9669ff75ef0eb199b597ce7dc00a97469db /doc/nvim-treesitter.txt
parentUpdate parsers: glimmer, sql (diff)
downloadnvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.tar
nvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.tar.gz
nvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.tar.bz2
nvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.tar.lz
nvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.tar.xz
nvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.tar.zst
nvim-treesitter-a1df50a79f0e422b3c99680071f32994893f3a3d.zip
docs: fix typo
Diffstat (limited to 'doc/nvim-treesitter.txt')
-rw-r--r--doc/nvim-treesitter.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index 884f334eb..f05693676 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -325,9 +325,9 @@ These highlight groups are used by default:
:TSEditQuery {query-group} [{lang}]~
Edit the query file for a {query-group} (e.g. highlights, locals) for given
-{lang}. If there are multiple the user is prompted to select one of them.
+{lang}. If there are multiple files, the user is prompted to select one of them.
If no such file exists, a buffer for a new file in the user's config directory
-is created. If {lang} is not specified, the language of the current buffer
+is created. If {lang} is not specified, the language of the current buffer
is used.
*:TSEditQueryUserAfter*
@@ -454,7 +454,7 @@ Default options (lua syntax):
the beginning.
- `type_patterns` - Which node type patterns to match.
- `transform_fn` - Function used to transform the single item in line. By
- default removes opening brackets and spaces from end. Takes two arguments:
+ default it removes opening brackets and spaces from end. Takes two arguments:
the text of the line in question, and the corresponding treesitter node.
- `separator` - Separator between nodes.
- `allow_duplicates` - Whether or not to remove duplicate components.
@@ -471,7 +471,7 @@ To use it: >
This will respect your 'foldminlines' and 'foldnestmax' settings.
Note: This is highly experimental, and folding can break on some types of
- edits. If you encounter such breakage, hiting `zx` should fix folding.
+ edits. If you encounter such breakage, hitting `zx` should fix folding.
In any case, feel free to open an issue with the reproducing steps.
==============================================================================