bug: Markdown Annoying Error Notifications
gokayburuc opened this issue · comments
Gökay BÜRÜÇ commented
Did you check docs and existing issues?
- I have read all the noice.nvim docs
- I have searched the existing issues of noice.nvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
NVIM v0.9.4
Operating system/version
Linux Ubuntu 20.04
Describe the bug
I installed LazyVim to my Linux Ubuntu 20.04 with default setup instructions . Anytime when i opened a markdown file with nvim getting this error shown below:
With this error message :
Error 04:28:34 PM msg_show.lua_error Error executing vim.schedule lua callback: ...2819/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 94 for language latex
stack traceback:
[C]: in function '_ts_parse_query'
...2819/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:259: in function 'get_query'
...share/nvim/lazy/noice.nvim/lua/noice/text/treesitter.lua:7: in function 'get_query'
...share/nvim/lazy/noice.nvim/lua/noice/text/treesitter.lua:49: in function 'fn'
...r/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:345: in function 'for_each_tree'
...r/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:349: in function 'for_each_tree'
...r/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:349: in function 'for_each_tree'
...share/nvim/lazy/noice.nvim/lua/noice/text/treesitter.lua:45: in function 'highlight'
...local/share/nvim/lazy/noice.nvim/lua/noice/text/init.lua:67: in function 'highlight'
...uc/.local/share/nvim/lazy/nui.nvim/lua/nui/line/init.lua:58: in function 'highlight'
...uc/.local/share/nvim/lazy/nui.nvim/lua/nui/line/init.lua:73: in function 'render'
...ocal/share/nvim/lazy/noice.nvim/lua/noice/text/block.lua:98: in function 'render'
...al/share/nvim/lazy/noice.nvim/lua/noice/lsp/override.lua:52: in function 'stylize_markdown'
...ocal/share/nvim/lazy/nvim-cmp/lua/cmp/view/docs_view.lua:64: in function 'open'
...ayburuc/.local/share/nvim/lazy/nvim-cmp/lua/cmp/view.lua:292: in function 'callback'
.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:138: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Steps To Reproduce
- Opening a random markdown file in my system
- Writing in
insert mode
- Getting an annoying half page long noice error message
- This error message repeats while writing.
Expected Behavior
Normal working :)
Gökay BÜRÜÇ commented
Linter config updated. LSP updated. Everything works properly right now.