-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Neovim version (nvim -v)
0.11.6
Neovim distribution
N/A
Description
I am trying to change the color of link text, but only the icon is changing color.
The colorscheme config I am using to set the highlight group (catppuccin):
custom_highlights = function(colors)
return {
RenderMarkdownLink = { fg = colors.blue },
RenderMarkdownWikiLink = { fg = colors.mauve }
}
end,As best I can tell, these highlight groups should apply to the link text as well as the icon.
Output of :Inspect run on the unhighlighted link text:
Treesitter
- @spell.markdown links to @spell priority: 100 language: markdown
- @nospell.markdown_inline links to @nospell priority: 100 language: markdown_inline
- @markup.link.label.markdown_inline links to @markup.link.label priority: 100 language: markdown_inline
Extmarks
- DiagnosticUnderlineHint nvim.vim.lsp.harper_ls.1.diagnostic.underline
So it seems as though the highlight group is not being applied to the link itself.
I have tried without obsidian.nvim and the same issue occurs. I'm mostly certain that this is user error, but I can't seem to figure out what I'm doing wrong?
Healthcheck output
render-markdown.nvim [versions] ~
- ✅ OK neovim >= 0.11
- ✅ OK tree-sitter ABI: 15
- ✅ OK plugin: 8.11.1
render-markdown.nvim [configuration] ~
- ✅ OK valid
render-markdown.nvim [tree-sitter markdown] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
- ✅ OK highlights: ~/.local/share/nvim/lazy/nvim-treesitter/queries/markdown/highlights.scm
- ✅ OK highlighter: enabled
render-markdown.nvim [tree-sitter markdown_inline] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
- ✅ OK highlights: ~/.local/share/nvim/lazy/nvim-treesitter/queries/markdown_inline/highlights.scm
render-markdown.nvim [tree-sitter html] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
render-markdown.nvim [tree-sitter latex] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
render-markdown.nvim [tree-sitter yaml] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
render-markdown.nvim [icons] ~
- ✅ OK using: mini.icons
render-markdown.nvim [latex] ~
- ⚠️ WARNING none installed: { "utftex", "latex2text" }
- ADVICE:
- disable latex support to avoid this warning
- require('render-markdown').setup({ latex = { enabled = false } })
render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: installed but should not conflict
Plugin configuration
{
bullet = {
icons = { "•", vim.NIL, vim.NIL, vim.NIL },
left_pad = 1
},
checkbox = {
checked = {
scope_highlight = "@markup.strikethrough"
},
left_pad = 1
},
code = {
left_pad = 2,
sign = false
},
heading = {
border = true,
border_virtual = true,
icons = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL }
},
pipe_table = {
border = { "╭",
[3] = "╮",
[7] = "╰",
[9] = "╯"
},
preset = "round"
},
quote = {
repeat_linebreak = true
},
render_modes = true,
win_options = {
breakindent = {
default = false,
rendered = true
},
breakindentopt = {
default = "",
rendered = ""
},
showbreak = {
default = "",
rendered = " "
}
}
}Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested