add default to highlight command to prevent overrule

This commit is contained in:
ray-x 2021-12-01 13:58:08 +11:00
parent 3329238deb
commit a038113bad

View File

@ -29,10 +29,10 @@ local M = {}
function M.setup()
vim.cmd('highlight! link LspCodeLens WarningMsg')
vim.cmd('highlight! link LspCodeLensText WarningMsg')
vim.cmd('highlight! link LspCodeLensTextSign LspCodeLensText')
vim.cmd('highlight! link LspCodeLensTextSeparator Boolean')
vim.cmd('highlight! default link LspCodeLens WarningMsg')
vim.cmd('highlight! default link LspCodeLensText WarningMsg')
vim.cmd('highlight! default link LspCodeLensTextSign LspCodeLensText')
vim.cmd('highlight! default link LspCodeLensTextSeparator Boolean')
vim.cmd('augroup go.codelenses')
vim.cmd(' autocmd!')