fix(nvim.plugins.goc): remove deprecated nvim api

This commit is contained in:
Bruno Carlin 2022-10-10 23:33:43 +02:00
parent c95b5d241b
commit 25c30a7159
Signed by: bcarlin
GPG key ID: 8E254EA0FFEB9B6D

View file

@ -15,6 +15,6 @@ vim.cmd [[
]] ]]
-- default colors -- default colors
vim.highlight.link('GocNormal', 'Comment') vim.api.nvim_set_hl(0, 'GocNormal', {link='Comment'})
vim.highlight.create('GocCovered', {ctermfg=2, cterm="none,bold"}) vim.api.nvim_set_hl(0, 'GocCovered', {ctermfg=2, bold=true})
vim.highlight.create('GocUncovered', {ctermfg=1, cterm="none,bold"}) vim.api.nvim_set_hl(0, 'GocUncovered', {ctermfg=1, bold=true})