We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e8b98 commit 790b044Copy full SHA for 790b044
lua/neorg/modules/core/integrations/treesitter/module.lua
@@ -666,7 +666,7 @@ module.public = {
666
if type(src) == "string" then
667
parser = vim.treesitter.get_string_parser(src, filetype)
668
else
669
- if src ~= 0 then
+ if src ~= 0 and src ~= nil then
670
vim.fn.bufload(src)
671
end
672
parser = vim.treesitter.get_parser(src or 0, filetype)
0 commit comments