namespace document highlight under lsp

This commit is contained in:
christianchiarulli 2021-07-10 02:38:38 -04:00
parent e4e8b38012
commit ff89ebd8e6

View file

@ -103,7 +103,7 @@ local function documentHighlight(client, bufnr)
end
local lsp_config = {}
if O.document_highlight then
if O.lsp.document_highlight then
function lsp_config.common_on_attach(client, bufnr)
documentHighlight(client, bufnr)
end