aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-10-19 12:01:20 -0500
committerGitHub <noreply@github.com>2021-10-19 12:01:20 -0500
commit04db2e8295393844fce4151743747bdabdc844b8 (patch)
tree029694819862b357f2120d183f162656b5513d98 /lua
parentHTML: highlight text nodes as text (diff)
downloadnvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.tar
nvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.tar.gz
nvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.tar.bz2
nvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.tar.lz
nvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.tar.xz
nvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.tar.zst
nvim-treesitter-04db2e8295393844fce4151743747bdabdc844b8.zip
Use vim.notify instead of print in some places (#1927)
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/install.lua4
1 files changed, 2 insertions, 2 deletions
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 {