From 04db2e8295393844fce4151743747bdabdc844b8 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Tue, 19 Oct 2021 12:01:20 -0500 Subject: Use vim.notify instead of print in some places (#1927) --- lua/nvim-treesitter/install.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index c0f85e9f8..0015a2de3 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 - print "Parsers are up-to-date!" + vim.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 - print "All parsers are up-to-date!" + vim.notify "All parsers are up-to-date!" end for _, lang in pairs(parsers_to_update) do install { -- cgit v1.2.3-70-g09d2