summaryrefslogtreecommitdiff
path: root/after/ftplugin/markdown.lua
blob: 3c59d7756fc12fb258dadd4c01b5f0906c77e04c (plain)
1
2
3
4
5
6
7
8
-- lower level in purple and red
vim.api.nvim_set_hl(0, "MDdepthTwo", { fg = require("nord.colors").palette.aurora.orange })
vim.api.nvim_set_hl(0, "MDdepthThree", { fg = require("nord.colors").palette.aurora.purple })
vim.fn.matchadd("MDdepthTwo", "^##\\([^#].*\\|$\\)") -- Either '##' or '##[^#]*'
vim.fn.matchadd("MDdepthThree", "^###\\([^#].*\\|$\\)")
-- definitions
vim.api.nvim_set_hl(0, "MDDefs", { fg = require("nord.colors").palette.frost.ice })
vim.fn.matchadd("MDDefs", "^[[:space:]]*\\([-*]\\|[0-9]\\+[.)]\\)[^:]\\+::")