We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 717afac commit 2c80b89Copy full SHA for 2c80b89
lua/debugprint/utils/init.lua
@@ -73,7 +73,7 @@ M.get_effective_filetypes = function()
73
74
local success, parser = pcall(vim.treesitter.get_parser, 0)
75
76
- if success then
+ if success and parser then
77
-- For some reason I don't understand, this parse line is necessary to
78
-- make embedded languages work
79
parser:parse(true)
0 commit comments