File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,14 @@ This will help minimize popup flickering issue in `company-mode'."
102
102
:group 'lsp-completion
103
103
:package-version '(lsp-mode . " 8.0.0" ))
104
104
105
+ (defcustom lsp-completion-default-behaviour :replace
106
+ " Default behaviour of `InsertReplaceEdit' ."
107
+ :type '(choice
108
+ (const :tag " Default completion inserts" :insert )
109
+ (const :tag " Default completion replaces" :replace ))
110
+ :group 'lsp-completion
111
+ :package-version '(lsp-mode . " 8.0.0" ))
112
+
105
113
(defconst lsp-completion--item-kind
106
114
[nil
107
115
" Text"
@@ -211,14 +219,6 @@ KEEP-LAST-RESULT if specified."
211
219
(setq lsp-completion--cache nil )
212
220
(unless keep-last-result (setq lsp-completion--last-result nil )))
213
221
214
- (defcustom lsp-completion-default-behaviour :replace
215
- " Default behaviour of `InsertReplaceEdit' ."
216
- :type '(choice
217
- (const :tag " Default completion inserts" :insert )
218
- (const :tag " Default completion replaces" :replace ))
219
- :group 'lsp-mode
220
- :package-version '(lsp-mode . " 8.0.0" ))
221
-
222
222
(lsp-defun lsp-completion--guess-prefix ((item &as &CompletionItem :text-edit? ))
223
223
" Guess ITEM's prefix start point according to following heuristics:
224
224
- If `textEdit' exists, use insertion range start as prefix start point.
You can’t perform that action at this time.
0 commit comments