summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-21 13:10:15 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-21 13:12:49 +0200
commitb89040303865db51b0869d576291ea887997e6a8 (patch)
treeba6185f83baea382a5df9d2a59cabb0197a666b3 /.config/nvim
parent419e550effcb4bfa10f24d95475e035c3d8dddee (diff)
nvim: Fix syntax highlighting for C macros
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/plugin/colors.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua
index 779c60d..c7d56d2 100644
--- a/.config/nvim/after/plugin/colors.lua
+++ b/.config/nvim/after/plugin/colors.lua
@@ -12,3 +12,4 @@ require('rose-pine').setup {
}
vim.cmd.colorscheme('rose-pine')
+vim.api.nvim_set_hl(0, '@lsp.type.macro', { link = 'Macro' })