fix document highlight bug for javascript,typescript... (#1017)

This commit is contained in:
PBird 2021-07-19 19:44:44 +03:00 committed by GitHub
parent 1399d2670a
commit ecb02ba7fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 4 deletions

View file

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