summaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-09 17:22:27 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-09 17:22:56 +0200
commitcd291c8084519069ce774c46d277fcae4e0474f3 (patch)
treec1c299ba35d4df2cbe396334e35b62d23f8fc05b /plugin
parent4f8e54c2e3b44b7660daa0a81d0c880d86aeec5f (diff)
downloadnvim-config-cd291c8084519069ce774c46d277fcae4e0474f3.tar.gz
nvim-config-cd291c8084519069ce774c46d277fcae4e0474f3.zip
misc(nvim): render &nbsp, &lt etc in markdown files
In floating windows with python documentation there is nbsp characters used for formatting. But with the default conceallevel they are invisible. This commit reduces the conceallevel so that they become visible.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/50-markdown.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/50-markdown.lua b/plugin/50-markdown.lua
index 6b59b27..a785aaa 100644
--- a/plugin/50-markdown.lua
+++ b/plugin/50-markdown.lua
@@ -16,4 +16,5 @@ require("render-markdown").setup({
heading = { width = "block", min_width = markdown_textwidth },
code = { position = "center", sign = false, width = "block", min_width = markdown_textwidth / 2 },
dash = { width = markdown_textwidth },
+ win_options = { conceallevel = { rendered = 2 } },
})