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/configs.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/configs.lua')
| -rw-r--r-- | lua/nvim-treesitter/configs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index c18208ec..30008fe9 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -239,7 +239,7 @@ function M.edit_query_file(query_group, lang) lang = lang or parsers.get_buf_lang() local files = ts_query.get_query_files(lang, query_group, true) if #files == 0 then - vim.notify "No query file found! Creating a new one!" + utils.notify "No query file found! Creating a new one!" M.edit_query_file_user_after(query_group, lang) elseif #files == 1 then vim.cmd(":edit " .. files[1]) |
