From 4fceb2bb5025e967f2abfc7b0db92bf305093272 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 21 May 2024 13:11:57 +0200 Subject: nvim: Make proper use of syntax/ --- .config/nvim/after/plugin/colors.lua | 1 - .config/nvim/after/syntax/c.vim | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 .config/nvim/after/syntax/c.vim diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua index c7d56d2..779c60d 100644 --- a/.config/nvim/after/plugin/colors.lua +++ b/.config/nvim/after/plugin/colors.lua @@ -12,4 +12,3 @@ require('rose-pine').setup { } vim.cmd.colorscheme('rose-pine') -vim.api.nvim_set_hl(0, '@lsp.type.macro', { link = 'Macro' }) diff --git a/.config/nvim/after/syntax/c.vim b/.config/nvim/after/syntax/c.vim new file mode 100644 index 0000000..a2c7c43 --- /dev/null +++ b/.config/nvim/after/syntax/c.vim @@ -0,0 +1 @@ +hi link @lsp.type.macro Macro -- cgit v1.2.3