diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-10-19 12:01:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-19 12:01:20 -0500 |
| commit | 04db2e8295393844fce4151743747bdabdc844b8 (patch) | |
| tree | 029694819862b357f2120d183f162656b5513d98 /lua/nvim-treesitter/install.lua | |
| parent | 58dd95f4a4db38a011c8f28564786c9d98b010c8 (diff) | |
Use vim.notify instead of print in some places (#1927)
Diffstat (limited to 'lua/nvim-treesitter/install.lua')
| -rw-r--r-- | lua/nvim-treesitter/install.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index c0f85e9f..0015a2de 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 { |
