commit 03af733153311153f362179ee6d55c714e561aeb (patch)
parent 20afc736e4ed59724b5413cd89de567a2b7a1139
Author: Alex Karle <alex@alexkarle.com>
Date: Sun, 4 Dec 2022 17:15:04 -0500
nvim: Update acme colors for nvim deprecated func
This seems to still work? I don't use it much these days
Diffstat:
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/.config/nvim/colors/acme.lua b/.config/nvim/colors/acme.lua
@@ -25,14 +25,14 @@
vim.cmd [[syntax off]]
vim.opt.background = 'light'
-vim.highlight.create('Normal', { ctermbg = 15, ctermfg = 0, cterm = "None" })
-vim.highlight.create('StatusLine', { ctermbg = 14, ctermfg = 0, cterm = "None" })
-vim.highlight.create('StatusLineNC', { ctermbg = 12, ctermfg = 0, cterm = "None" })
-vim.highlight.create('TabLineFill', { ctermbg = 12, ctermfg = 0, cterm = "None" })
-vim.highlight.create('VertSplit', { ctermbg = 15, ctermfg = 14, cterm = "None" })
-vim.highlight.create('Visual', { ctermbg = 11, ctermfg = 0, cterm = "None" })
-vim.highlight.create('LineNr', { ctermbg = 15, ctermfg = 8, cterm = "None" })
-vim.highlight.create('LineNr', { ctermbg = 15, ctermfg = 8, cterm = "None" })
-vim.highlight.create('NonText', { ctermbg = 15, ctermfg = 8, cterm = "None" })
-vim.highlight.create('Pmenu', { ctermbg = 10, ctermfg = 0, cterm = "None" })
-vim.highlight.create('PmenuSel', { ctermbg = 11, ctermfg = 0, cterm = "None" })
+vim.api.nvim_set_hl(0, 'Normal', { ctermbg = 15, ctermfg = 0 })
+vim.api.nvim_set_hl(0, 'StatusLine', { ctermbg = 14, ctermfg = 0 })
+vim.api.nvim_set_hl(0, 'StatusLineNC', { ctermbg = 12, ctermfg = 0 })
+vim.api.nvim_set_hl(0, 'TabLineFill', { ctermbg = 12, ctermfg = 0 })
+vim.api.nvim_set_hl(0, 'VertSplit', { ctermbg = 15, ctermfg = 14 })
+vim.api.nvim_set_hl(0, 'Visual', { ctermbg = 11, ctermfg = 0 })
+vim.api.nvim_set_hl(0, 'LineNr', { ctermbg = 15, ctermfg = 8 })
+vim.api.nvim_set_hl(0, 'LineNr', { ctermbg = 15, ctermfg = 8 })
+vim.api.nvim_set_hl(0, 'NonText', { ctermbg = 15, ctermfg = 8 })
+vim.api.nvim_set_hl(0, 'Pmenu', { ctermbg = 10, ctermfg = 0 })
+vim.api.nvim_set_hl(0, 'PmenuSel', { ctermbg = 11, ctermfg = 0 })