feat(nvim): add highlights for org delimiters

This commit is contained in:
Price Hiller 2023-11-02 13:08:49 -05:00
parent 3661d39554
commit 71cff08620
No known key found for this signature in database

View File

@ -46,6 +46,14 @@ return {
config_path = "$HOME/.config/emacs/init.el"
}
})
vim.api.nvim_set_hl(0, "org_code", { link = "@field" })
vim.api.nvim_set_hl(0, "org_code_delimiter", { link = "@string.special" })
vim.api.nvim_set_hl(0, "org_verbatim_delimiter", { link = "@string.special" })
vim.api.nvim_set_hl(0, "org_italic_delimiter", { link = "@string.special" })
vim.api.nvim_set_hl(0, "org_bold_delimiter", { link = "@string.special" })
vim.api.nvim_set_hl(0, "org_underline_delimiter", { link = "@string.special" })
vim.api.nvim_set_hl(0, "org_strikethrough_delimiter", { link = "@string.special" })
if vim.bo.filetype == "org" then
vim.cmd.edit()
end