mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
chore: format runtime with stylua
This commit is contained in:
@@ -22,13 +22,15 @@ function M.require_language(lang, path, silent)
|
||||
end
|
||||
|
||||
-- TODO(bfredl): help tag?
|
||||
error("no parser for '"..lang.."' language, see :help treesitter-parsers")
|
||||
error("no parser for '" .. lang .. "' language, see :help treesitter-parsers")
|
||||
end
|
||||
path = paths[1]
|
||||
end
|
||||
|
||||
if silent then
|
||||
return pcall(function() vim._ts_add_language(path, lang) end)
|
||||
return pcall(function()
|
||||
vim._ts_add_language(path, lang)
|
||||
end)
|
||||
else
|
||||
vim._ts_add_language(path, lang)
|
||||
end
|
||||
|
Reference in New Issue
Block a user