LanguageTree: don't error when injecting a language

This commit is contained in:
Santos Gallegos 2020-10-21 09:14:51 -05:00 committed by Thomas Vigouroux
parent e9129eee49
commit 72f5d72413

View file

@ -123,7 +123,6 @@ function LanguageTree:update()
if lang ~= self.parser.lang then
if not self.children[lang] then
vim.api.nvim_err_writeln("Creating node for language " .. lang)
self.children[lang] = LanguageTree.new(self.parser.bufnr, lang, true)
end