From f0734997c47cab92dae34455419a69a4ea06ef6c Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 6 Mar 2022 22:37:35 -0600 Subject: [PATCH] refactor(nvim): Use highlight api --- .config/nvim/lua/core/theme.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/nvim/lua/core/theme.lua b/.config/nvim/lua/core/theme.lua index 214cbf3c..aa975c10 100755 --- a/.config/nvim/lua/core/theme.lua +++ b/.config/nvim/lua/core/theme.lua @@ -19,8 +19,6 @@ M.setup = function() ) end - vim.cmd([[ - hi SpecialKey guifg=#61AFEF - ]]) + vim.api.nvim_set_hl(0, 'SpecialKey', { fg = "#61AFEF" }) end return M