diff options
Diffstat (limited to 'doc/nvim-treesitter.txt')
| -rw-r--r-- | doc/nvim-treesitter.txt | 8 |
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. ============================================================================== |
