chore(generator): keep diagnosis silent

This commit is contained in:
kevinhwang91
2022-02-07 17:29:41 +08:00
parent 7af0b4ee26
commit 90f12f6edc

View File

@@ -4,7 +4,7 @@ local notify = helpers.notify
local ok, ts_utils = pcall(require, "nvim-treesitter.ts_utils") local ok, ts_utils = pcall(require, "nvim-treesitter.ts_utils")
if not ok then if not ok then
notify("neogen requires nvim-treesitter to operate :(", vim.log.levels.ERROR) notify("neogen requires nvim-treesitter to operate :(", vim.log.levels.ERROR)
return function() end return function(_, _) end
end end
local conf = require("neogen.config").get() local conf = require("neogen.config").get()