From 55860a76d90009f742d9ee300879541ab13ed9f9 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Fri, 22 Oct 2021 16:25:18 -0500 Subject: Use wrapper around vim.notify with common options Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843 --- lua/nvim-treesitter/install.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/nvim-treesitter/install.lua') diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index 936f3653..d57b4856 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -429,13 +429,13 @@ function M.update(options) end end if installed == 0 then - vim.notify "Parsers are up-to-date!" + utils.notify "Parsers are up-to-date!" end else local parsers_to_update = configs.get_update_strategy() == "lockfile" and outdated_parsers() or info.installed_parsers() if #parsers_to_update == 0 then - vim.notify "All parsers are up-to-date!" + utils.notify "All parsers are up-to-date!" end for _, lang in pairs(parsers_to_update) do install { -- cgit v1.2.3