Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
fix: pcall vim.treesitter.language.inspect (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
monaqa committed Apr 9, 2023
1 parent db54848 commit 934cb4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim-treesitter-playground/query_linter.lua
Expand Up @@ -77,7 +77,7 @@ function M.lint(query_buf)

local query_lang = M.guess_query_lang(query_buf)

local ok, parser_info = pcall(vim.treesitter.language.inspect(), query_lang)
local ok, parser_info = pcall(vim.treesitter.language.inspect, query_lang)

if not ok then
return
Expand Down

0 comments on commit 934cb4c

Please sign in to comment.