diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-04-07 17:04:43 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-04-14 16:23:21 +0200 |
| commit | 4598f90f34399a4134b3ebb6a92d6108fead3e68 (patch) | |
| tree | 1e5221063ee3867feaa7f18a93d9ce5efa131c77 /doc | |
| parent | feat: Add TSEditQuery (diff) | |
| download | nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.tar nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.tar.gz nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.tar.bz2 nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.tar.lz nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.tar.xz nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.tar.zst nvim-treesitter-4598f90f34399a4134b3ebb6a92d6108fead3e68.zip | |
docs: Add documentation for :TSEditQuery
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 2de072357..2ecb6c347 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -280,6 +280,16 @@ These highlight groups are used by default: highlight default link TSModuleInfoNamespace Statement highlight default link TSModuleInfoParser Identifier < + + *:TSEditQuery* +: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. +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 used. + ============================================================================== UTILS *nvim-treesitter-utils* |
