diff options
Diffstat (limited to 'after/ftplugin/markdown.lua')
-rw-r--r-- | after/ftplugin/markdown.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/after/ftplugin/markdown.lua b/after/ftplugin/markdown.lua index 6e5e39f..3c59d77 100644 --- a/after/ftplugin/markdown.lua +++ b/after/ftplugin/markdown.lua @@ -1,8 +1,8 @@ -- lower level in purple and red -vim.api.nvim_set_hl(0, "MDdepthTwo", { fg = require("nord.colors").palette.aurora.purple }) -vim.fn.matchadd("MDdepthTwo", "^##") -vim.api.nvim_set_hl(0, "MDdepthThree", { fg = require("nord.colors").palette.aurora.red }) -vim.fn.matchadd("MDdepthThree", "^###\\+") +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]\\+[.)]\\)[^:]\\+::") |