-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Neovim version (nvim -v)
v0.11.3
Neovim distribution
LazyVim
Description
I have a question about code borders with some colorschemes. Below is a screenshot of me trying to use the duskfox colorscheme and the border for the code becomes a thick white line.
It looks like it's highlighting the '█', which is the default border with white. However, if I type:
:highlight Render
and press tab to try and find RenderMarkdownCodeBorder, it's not there.
Here is the output of :RenderMarkdown debug on one of the lines:
marks on row: 31
===========================================================================================================================================================================================
row: 31
column: 0
hide: false
virt_text: ( , DevIconBash+RmCodeBorder) + (bash, DevIconBash+RmCodeBorder) + (rep(█, 125), Rm_RmCodeBorder_bg_as_fg)
virt_text_pos: overlay
===========================================================================================================================================================================================
row: 31
column: 0
hide: false
sign_text:
sign_hl_group: Rm_DevIconBash_RmSign
===========================================================================================================================================================================================
row: 31 -> 31
column: 0 -> 3
hide: true
conceal: ""
===========================================================================================================================================================================================
row: 31 -> 31
column: 3 -> 7
hide: true
conceal: ""
This is of course fixed is if I change highlight_border to false, but I would like to keep the border if possible. I'm just not understanding why some colorschemes do this and some don't.
Here is also my config:
{
"MeanderingProgrammer/render-markdown.nvim",
main = "render-markdown",
name = "render-markdown",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
opts = {},
config = function()
require("render-markdown").setup({
render_modes = true,
win_options = {
concealcursor = { rendered = "nvc" },
},
anti_conceal = {
enabled = true,
ignore = {
code_background = true,
code_border = true,
code_language = true,
head_icon = true,
head_background = true,
head_border = true,
sign = true,
dash = true,
bullet = true,
},
},
code = {
style = "full",
language_name = true,
border = "thin",
width = "block",
-- highlight_border = false,
},
heading = {
backgrounds = {},
},
})
end,
},
Would appreciate some insight. Thanks!
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested