nvim: improve md highlighting

This commit is contained in:
thomasabishop 2024-04-29 16:35:25 +01:00
parent c17b3b69aa
commit 32dfd965c3
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,10 @@ vim.cmd([[
autocmd BufRead,BufNewFile *.md set syntax=markdown autocmd BufRead,BufNewFile *.md set syntax=markdown
]]) ]])
vim.cmd([[
highlight link markdownError Normal
]])
require("thomas.plugins-setup") require("thomas.plugins-setup")
require("thomas.core.options") require("thomas.core.options")
require("thomas.core.keymaps") require("thomas.core.keymaps")

View file

@ -19,3 +19,4 @@ update_hl("markdownH2", { bold = true })
update_hl("markdownH3", { bold = true }) update_hl("markdownH3", { bold = true })
update_hl("markdownH4", { bold = true }) update_hl("markdownH4", { bold = true })
update_hl("markdownH5", { bold = true }) update_hl("markdownH5", { bold = true })