diff --git a/lua/highlite/init.lua b/lua/highlite/init.lua index 9c35a1c..5624b2e 100644 --- a/lua/highlite/init.lua +++ b/lua/highlite/init.lua @@ -527,7 +527,7 @@ local highlights = { NERDTreeLinkTarget = {link='Tag' }, } -if vim.api.call_function('has', {'nvim-0.5'}) then +if vim.api.nvim_call_function('has', {'nvim-0.5'}) then highlights.LspDiagnosticsError = {link='CocErrorHighlight'} highlights.LspDiagnosticsErrorFloating = {link='ErrorMsg'} highlights.LspDiagnosticsErrorSign = {link='CocErrorSign'}