Sfoglia il codice sorgente

namespace document highlight under lsp

christianchiarulli 4 anni fa
parent
commit
ff89ebd8e6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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