mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-03 01:25:03 +02:00
fix document highlight bug for javascript,typescript... (#1017)
This commit is contained in:
parent
1399d2670a
commit
ecb02ba7fe
2 changed files with 10 additions and 4 deletions
|
@ -196,8 +196,8 @@ function lsp_config.PeekImplementation()
|
|||
end
|
||||
end
|
||||
|
||||
if O.lsp.document_highlight then
|
||||
function lsp_config.common_on_attach(client, bufnr)
|
||||
function lsp_config.common_on_attach(client, bufnr)
|
||||
if O.lsp.document_highlight then
|
||||
documentHighlight(client, bufnr)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue