diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-10-22 16:25:18 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-10-22 23:46:16 +0200 |
| commit | 55860a76d90009f742d9ee300879541ab13ed9f9 (patch) | |
| tree | d224e33a6fa5be78dbc8a29e749e852154309806 /lua/nvim-treesitter/install.lua | |
| parent | 97819053c86df290bf62aeafeb4a0d6a23b7c6b8 (diff) | |
Use wrapper around vim.notify with common options
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843
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 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 { |
