fix(nvim.plugins.goc): remove deprecated nvim api
This commit is contained in:
parent
c95b5d241b
commit
25c30a7159
1 changed files with 3 additions and 3 deletions
|
@ -15,6 +15,6 @@ vim.cmd [[
|
|||
]]
|
||||
|
||||
-- default colors
|
||||
vim.highlight.link('GocNormal', 'Comment')
|
||||
vim.highlight.create('GocCovered', {ctermfg=2, cterm="none,bold"})
|
||||
vim.highlight.create('GocUncovered', {ctermfg=1, cterm="none,bold"})
|
||||
vim.api.nvim_set_hl(0, 'GocNormal', {link='Comment'})
|
||||
vim.api.nvim_set_hl(0, 'GocCovered', {ctermfg=2, bold=true})
|
||||
vim.api.nvim_set_hl(0, 'GocUncovered', {ctermfg=1, bold=true})
|
||||
|
|
Loading…
Add table
Reference in a new issue