mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix(treesitter): suppress get_parser warnings via opts.error
This commit is contained in:
committed by
Christian Clason
parent
7b71fdbc1e
commit
0f067cd34d
@@ -135,7 +135,7 @@ void ui_refresh(void)
|
||||
insert(test_text)
|
||||
|
||||
eq(
|
||||
'.../treesitter.lua:0: Parser not found.',
|
||||
'.../treesitter.lua:0: Parser not found for buffer 1: language could not be determined',
|
||||
pcall_err(exec_lua, 'vim.treesitter.get_parser(0)')
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user