Skip to content

Commit a0d01bb

Browse files
authored
Plugin Config: Add maxCompletions to JSON instance (#1407)
It was likely forgotten to add in this change: <https://github.com/haskell/haskell-language-server/pull/1218/files>
1 parent f96125f commit a0d01bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hls-plugin-api/src/Ide/Plugin/Config.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ instance A.ToJSON Config where
117117
, "completionSnippetsOn" .= completionSnippetsOn
118118
, "formatOnImportOn" .= formatOnImportOn
119119
, "formattingProvider" .= formattingProvider
120+
, "maxCompletions" .= maxCompletions
120121
, "plugin" .= plugins
121122
]
122123

0 commit comments

Comments
 (0)