Explorar el Código

namespace document highlight under lsp

christianchiarulli hace 4 años
padre
commit
ff89ebd8e6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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