From 4598f90f34399a4134b3ebb6a92d6108fead3e68 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Wed, 7 Apr 2021 17:04:43 +0200 Subject: docs: Add documentation for :TSEditQuery --- doc/nvim-treesitter.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') 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* -- cgit v1.2.3-70-g09d2