You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.9.0
Operating system/version
Ubuntu 20.04.4 LTS
Describe the bug
When I hover a function which document has link, the highlight doesn't handle it.
Its filetype is noice, when I set ft=lsp_markdown, It works.
It shows the default hover window when I disable noice.nvim.
Run checkhealth noice:
==============================================================================
noice: require("noice.health").check()
noice.nvim ~
- OK **Neovim** >= 0.8.0
- OK Not running inside **Neovide**
- OK You're using a GUI that should work ok
- OK **vim.go.lazyredraw** is not enabled
- OK **nvim-notify** is installed
- OK **TreeSitter vim** parser is installed
- OK **TreeSitter regex** parser is installed
- OK **TreeSitter lua** parser is installed
- OK **TreeSitter bash** parser is installed
- OK **TreeSitter markdown** parser is installed
- OK **TreeSitter markdown_inline** parser is installed
- OK `vim.notify` is set to **Noice**
- OK `vim.lsp.handlers["textDocument/hover"]` is set to **Noice**
- OK `vim.lsp.handlers["textDocument/signatureHelp"]` is set to **Noice**
- OK `vim.lsp.handlers["window/showMessage"]` is set to **Noice**
- OK `vim.lsp.util.convert_input_to_markdown_lines` is set to **Noice**
- OK `vim.lsp.util.stylize_markdown` is set to **Noice**
Steps To Reproduce
Hover the function which document has link.
Expected Behavior
The highlight function will remove escape sequences.
@folke It seems that miss / charater in markdown special chars fixed by a7246aa is not the root cause.
The special chars in markdown are "\\`*_{}[]()#+-.!", so it's necessary to conceal only these chars. However, it also adds escape to this non-special chars "\"/<>&=;':" to the hover documentation, when I enable noice.nvim. So it resulting in a weird ui.
And the workaround should be define these special chars to local chars = "\\`*_{}[]()#+-.!\"/<>&=;':", but I don't think this is a elegant solution.
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.0
Operating system/version
Ubuntu 20.04.4 LTS
Describe the bug
When I hover a function which document has link, the highlight doesn't handle it.
Its filetype is
noice
, when Iset ft=lsp_markdown
, It works.It shows the default hover window when I disable
noice.nvim
.Run
checkhealth noice
:Steps To Reproduce
Expected Behavior
The highlight function will remove escape sequences.
Repro
The text was updated successfully, but these errors were encountered: