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>
This commit is contained in:
Stephan Seitz
2023-04-29 18:22:26 +02:00
committed by GitHub
parent 933fdff466
commit c194acbfc4
7 changed files with 399 additions and 1 deletions

View File

@@ -269,6 +269,7 @@ function M.inspect_tree(opts)
vim.bo[b].buflisted = false
vim.bo[b].buftype = 'nofile'
vim.bo[b].bufhidden = 'wipe'
vim.b[b].disable_query_linter = true
vim.bo[b].filetype = 'query'
local title --- @type string?