aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/filetype.txt
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2023-04-29 18:22:26 +0200
committerGitHub <noreply@github.com>2023-04-29 18:22:26 +0200
commitc194acbfc479d8e5839fa629363f93f6550d035c (patch)
tree134a12e3a5b6ee970081bcfc83c3494201dfa00f /runtime/doc/filetype.txt
parent933fdff4660a17b1df7809105c57825e0ece1fc6 (diff)
downloadrneovim-c194acbfc479d8e5839fa629363f93f6550d035c.tar.gz
rneovim-c194acbfc479d8e5839fa629363f93f6550d035c.tar.bz2
rneovim-c194acbfc479d8e5839fa629363f93f6550d035c.zip
feat(treesitter): add query_linter from nvim-treesitter/playground (#22784)
Co-authored-by: clason <clason@users.noreply.github.com> Co-authored-by: lewis6991 <lewis6991@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/filetype.txt')
-rw-r--r--runtime/doc/filetype.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt
index f69ffeabfe..175c531950 100644
--- a/runtime/doc/filetype.txt
+++ b/runtime/doc/filetype.txt
@@ -663,6 +663,20 @@ To disable this behavior, set the following variable in your vimrc: >
let g:python_recommended_style = 0
+QUERY *ft-query-plugin*
+
+
+Linting of tree-sitter queries for installed parsers using
+|lua-treesitter-query_linter| is enabled by default on
+`BufEnter` and `BufWrite`. To change the events that
+trigger linting, use >lua
+
+ vim.g.query_lint_on = { 'InsertLeave', 'TextChanged' }
+<
+To disable linting completely, set >lua
+
+ vim.g.query_lint_on = {}
+<
QF QUICKFIX *qf.vim* *ft-qf-plugin*