Parcourir la source

namespace document highlight under lsp

christianchiarulli il y a 4 ans
Parent
commit
ff89ebd8e6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lua/lsp/init.lua

+ 1 - 1
lua/lsp/init.lua

@@ -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