Skip to content

Commit

Permalink
Merge pull request #420 from Shane-XB-Qian/refine_compl_kind_trig_char
Browse files Browse the repository at this point in the history
none: get trig chars always
  • Loading branch information
yegappan authored Dec 2, 2023
2 parents cb905c8 + 7457ff8 commit dd32aec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions autoload/lsp/lspserver.vim
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,8 @@ def ServerInitReply(lspserver: dict<any>, initResult: dict<any>): void
capabilities.ProcessServerCaps(lspserver, caps)

if caps->has_key('completionProvider')
if opt.lspOptions.autoComplete || opt.lspOptions.omniComplete
lspserver.completionTriggerChars =
lspserver.completionTriggerChars =
caps.completionProvider->get('triggerCharacters', [])
endif
lspserver.completionLazyDoc =
caps.completionProvider->get('resolveProvider', false)
endif
Expand Down

0 comments on commit dd32aec

Please sign in to comment.