mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
Use wrapper around vim.notify with common options
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843
This commit is contained in:
parent
97819053c8
commit
55860a76d9
3 changed files with 9 additions and 3 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue