summaryrefslogtreecommitdiff
path: root/dot-config/nvim-old/lua/plugins/markdown.lua
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-07 23:42:52 -0800
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-11-07 23:53:00 -0800
commit5dc89fe9789701abbe4a73c2998d397a6d7d964c (patch)
treecf43ae482b0c2bbfabd3370faf127a4e21a21086 /dot-config/nvim-old/lua/plugins/markdown.lua
parent617c3b29dbf03322ef3ccb0cd9663532e94adb68 (diff)
replace lazyvim with custom config
Diffstat (limited to 'dot-config/nvim-old/lua/plugins/markdown.lua')
-rw-r--r--dot-config/nvim-old/lua/plugins/markdown.lua37
1 files changed, 37 insertions, 0 deletions
diff --git a/dot-config/nvim-old/lua/plugins/markdown.lua b/dot-config/nvim-old/lua/plugins/markdown.lua
new file mode 100644
index 0000000..48c957d
--- /dev/null
+++ b/dot-config/nvim-old/lua/plugins/markdown.lua
@@ -0,0 +1,37 @@
+return {
+ {
+ -- Disable linting
+ "mfussenegger/nvim-lint",
+ optional = true,
+ opts = {
+ linters_by_ft = {
+ markdown = {},
+ },
+ },
+ },
+ {
+ "MeanderingProgrammer/render-markdown.nvim",
+ opts = {
+ html = {
+ comment = {
+ -- Turn on / off HTML comment concealing.
+ conceal = false,
+ },
+ },
+ code = {
+ -- Whether to conceal nodes at the top and bottom of code blocks.
+ conceal_delimiters = false,
+ -- Width of the code block background.
+ -- | block | width of the code block |
+ -- | full | full width of the window |
+ width = "block",
+ -- Determines how the top / bottom of code block are rendered.
+ -- | none | do not render a border |
+ -- | thick | use the same highlight as the code body |
+ -- | thin | when lines are empty overlay the above & below icons |
+ -- | hide | conceal lines unless language name or icon is added |
+ border = "thick",
+ },
+ },
+ },
+}