Skip to content

Completion#

lsp-completion-default-behaviour#

Type: (choice (const :tag Default completion inserts :insert) (const :tag Default completion replaces :replace))

Default: :replace

Default behaviour of InsertReplaceEdit.


lsp-completion-enable#

Type: boolean

Default: t

Enable completion-at-point integration.


lsp-completion-enable-additional-text-edit#

Type: boolean

Default: t

Whether or not to apply additional text edit when performing completion.

If set to non-nil, lsp-mode will apply additional text edits from the server. Otherwise, the additional text edits are ignored.


lsp-completion-filter-on-incomplete#

Type: boolean

Default: t

Whether or not filter incomplete results.


lsp-completion-no-cache#

Type: boolean

Default: nil

Whether or not caching the returned completions from server.


lsp-completion-provider#

Type: (choice (const :tag Use company-capf :capf) (const :tag None :none))

Default: :capf

The completion backend provider.


lsp-completion-show-detail#

Type: boolean

Default: t

Whether or not to show detail of completion candidates.


lsp-completion-show-kind#

Type: boolean

Default: t

Whether or not to show kind of completion candidates.


lsp-completion-show-label-description#

Type: boolean

Default: t

Whether or not to show description of completion candidates.


lsp-completion-sort-initial-results#

Type: boolean

Default: t

Whether or not filter initial results from server.


lsp-completion-use-last-result#

Type: boolean

Default: t

Temporarily use last server result when interrupted by keyboard. This will help minimize popup flickering issue in company-mode.


lsp-enable-snippet#

Type: boolean

Default: t

Enable/disable snippet completion support.



Last update: October 31, 2024