docs: fix typo

This commit is contained in:
Zhizhen He 2023-03-21 13:50:54 +08:00 committed by Amaan Qureshi
parent 2e85a7f4f3
commit a1df50a79f
5 changed files with 9 additions and 9 deletions

View file

@ -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.
==============================================================================