feat(nvim): add highlights for org delimiters
This commit is contained in:
parent
3661d39554
commit
71cff08620
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user