Skip to content

Commit 0f60519

Browse files
authored
Fix a typo in user preference parsing (#2270)
1 parent b9bed91 commit 0f60519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ls/lsutil/userpreferences.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ func (p *UserPreferences) set(name string, value any) {
685685
p.InlayHints.IncludeInlayParameterNameHints = parseInlayParameterNameHints(value)
686686
case "includeinlayparameternamehintswhenargumentmatchesname":
687687
p.InlayHints.IncludeInlayParameterNameHintsWhenArgumentMatchesName = parseBoolWithDefault(value, false)
688-
case "includeinlayfunctionparametertypeHints":
688+
case "includeinlayfunctionparametertypehints":
689689
p.InlayHints.IncludeInlayFunctionParameterTypeHints = parseBoolWithDefault(value, false)
690690
case "includeinlayvariabletypehints":
691691
p.InlayHints.IncludeInlayVariableTypeHints = parseBoolWithDefault(value, false)

0 commit comments

Comments
 (0)