Skip to content

Commit 95bd6f7

Browse files
Fix backtick autocomplete problem
1 parent 72d7831 commit 95bd6f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Components/Autocomplete.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Autocomplete =
3434
let result = createEmpty<CompletionItem> ()
3535
result.kind <- c.GlyphChar |> convertToInt |> unbox
3636
result.label <- c.Name
37-
result.insertText <- c.Code
37+
result.insertText <- c.ReplacementText
3838
result)
3939

4040
let mapHelptext (sug : CompletionItem) (o : HelptextResult) =

src/Core/DTO.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module DTO =
4040

4141
type Completion = {
4242
Name : string
43-
Code : string
43+
ReplacementText : string
4444
Glyph : string
4545
GlyphChar: string
4646
}

0 commit comments

Comments
 (0)