Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.0
Operating system/version
macOS 13.1
Describe the bug
yamlls hover is filled with  , which shouldn't be there.

Issue happens for me when overriding lsp stylize_markdown with noice implementation.
Similar issue has been fixed in neovim/neovim#22757
Related issue #424
Steps To Reproduce
- Install the
repro.lua given.
- Create
.gitlab-ci.yaml with content
- Run
nvim -u repro.lua .gitlab-ci.yaml, wait for mason to install yamlls.
- Quit and reopen file.
- Hover (
K) on hello, observe above issue.
Expected Behavior
I would expect not to see   as it should be fixed in neovim 0.9.
We still need redhat-developer/yaml-language-server#863 to get rid of the additional  .
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
"LazyVim/LazyVim",
-- add any other plugins here
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{
"neovim/nvim-lspconfig",
opts = {
servers = {
yamlls = {
settings = {
yaml = {
schemas = {
["https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json"] = ".gitlab-ci.y*l",
},
hover = true,
},
},
},
},
},
},
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.0
Operating system/version
macOS 13.1
Describe the bug
yamllshover is filled with , which shouldn't be there.Issue happens for me when overriding lsp stylize_markdown with
noiceimplementation.Similar issue has been fixed in neovim/neovim#22757
Related issue #424
Steps To Reproduce
repro.luagiven..gitlab-ci.yamlwith contentnvim -u repro.lua .gitlab-ci.yaml, wait for mason to installyamlls.K) onhello, observe above issue.Expected Behavior
I would expect not to see
 as it should be fixed in neovim 0.9.We still need redhat-developer/yaml-language-server#863 to get rid of the additional
 .Repro