Skip to content

Commit 7eb1dcf

Browse files
committed
Add new HLS plugin configurations
1 parent 49384e5 commit 7eb1dcf

File tree

1 file changed

+126
-2
lines changed

1 file changed

+126
-2
lines changed

package.json

Lines changed: 126 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,18 @@
235235
"scope": "resource",
236236
"type": "boolean"
237237
},
238+
"haskell.plugin.cabal-fmt.config.path": {
239+
"default": "cabal-fmt",
240+
"markdownDescription": "Set path to 'cabal-fmt' executable",
241+
"scope": "resource",
242+
"type": "string"
243+
},
244+
"haskell.plugin.cabal-gild.config.path": {
245+
"default": "cabal-gild",
246+
"markdownDescription": "Set path to 'cabal-gild' executable",
247+
"scope": "resource",
248+
"type": "string"
249+
},
238250
"haskell.plugin.cabal.codeActionsOn": {
239251
"default": true,
240252
"description": "Enables cabal code actions",
@@ -309,13 +321,13 @@
309321
},
310322
"haskell.plugin.fourmolu.config.external": {
311323
"default": false,
312-
"markdownDescription": "Call out to an external \"fourmolu\" executable, rather than using the bundled library",
324+
"markdownDescription": "Call out to an external \"fourmolu\" executable, rather than using the bundled library.",
313325
"scope": "resource",
314326
"type": "boolean"
315327
},
316328
"haskell.plugin.fourmolu.config.path": {
317329
"default": "fourmolu",
318-
"markdownDescription": "Set path to executable (for \"external\" mode)",
330+
"markdownDescription": "Set path to executable (for \"external\" mode).",
319331
"scope": "resource",
320332
"type": "string"
321333
},
@@ -715,6 +727,118 @@
715727
"scope": "resource",
716728
"type": "string"
717729
},
730+
"haskell.plugin.semanticTokens.config.moduleToken": {
731+
"default": "namespace",
732+
"description": "LSP semantic token type to use for modules",
733+
"enum": [
734+
"namespace",
735+
"type",
736+
"class",
737+
"enum",
738+
"interface",
739+
"struct",
740+
"typeParameter",
741+
"parameter",
742+
"variable",
743+
"property",
744+
"enumMember",
745+
"event",
746+
"function",
747+
"method",
748+
"macro",
749+
"keyword",
750+
"modifier",
751+
"comment",
752+
"string",
753+
"number",
754+
"regexp",
755+
"operator",
756+
"decorator"
757+
],
758+
"enumDescriptions": [
759+
"LSP Semantic Token Type: namespace",
760+
"LSP Semantic Token Type: type",
761+
"LSP Semantic Token Type: class",
762+
"LSP Semantic Token Type: enum",
763+
"LSP Semantic Token Type: interface",
764+
"LSP Semantic Token Type: struct",
765+
"LSP Semantic Token Type: typeParameter",
766+
"LSP Semantic Token Type: parameter",
767+
"LSP Semantic Token Type: variable",
768+
"LSP Semantic Token Type: property",
769+
"LSP Semantic Token Type: enumMember",
770+
"LSP Semantic Token Type: event",
771+
"LSP Semantic Token Type: function",
772+
"LSP Semantic Token Type: method",
773+
"LSP Semantic Token Type: macro",
774+
"LSP Semantic Token Type: keyword",
775+
"LSP Semantic Token Type: modifier",
776+
"LSP Semantic Token Type: comment",
777+
"LSP Semantic Token Type: string",
778+
"LSP Semantic Token Type: number",
779+
"LSP Semantic Token Type: regexp",
780+
"LSP Semantic Token Type: operator",
781+
"LSP Semantic Token Type: decorator"
782+
],
783+
"scope": "resource",
784+
"type": "string"
785+
},
786+
"haskell.plugin.semanticTokens.config.operatorToken": {
787+
"default": "operator",
788+
"description": "LSP semantic token type to use for operators",
789+
"enum": [
790+
"namespace",
791+
"type",
792+
"class",
793+
"enum",
794+
"interface",
795+
"struct",
796+
"typeParameter",
797+
"parameter",
798+
"variable",
799+
"property",
800+
"enumMember",
801+
"event",
802+
"function",
803+
"method",
804+
"macro",
805+
"keyword",
806+
"modifier",
807+
"comment",
808+
"string",
809+
"number",
810+
"regexp",
811+
"operator",
812+
"decorator"
813+
],
814+
"enumDescriptions": [
815+
"LSP Semantic Token Type: namespace",
816+
"LSP Semantic Token Type: type",
817+
"LSP Semantic Token Type: class",
818+
"LSP Semantic Token Type: enum",
819+
"LSP Semantic Token Type: interface",
820+
"LSP Semantic Token Type: struct",
821+
"LSP Semantic Token Type: typeParameter",
822+
"LSP Semantic Token Type: parameter",
823+
"LSP Semantic Token Type: variable",
824+
"LSP Semantic Token Type: property",
825+
"LSP Semantic Token Type: enumMember",
826+
"LSP Semantic Token Type: event",
827+
"LSP Semantic Token Type: function",
828+
"LSP Semantic Token Type: method",
829+
"LSP Semantic Token Type: macro",
830+
"LSP Semantic Token Type: keyword",
831+
"LSP Semantic Token Type: modifier",
832+
"LSP Semantic Token Type: comment",
833+
"LSP Semantic Token Type: string",
834+
"LSP Semantic Token Type: number",
835+
"LSP Semantic Token Type: regexp",
836+
"LSP Semantic Token Type: operator",
837+
"LSP Semantic Token Type: decorator"
838+
],
839+
"scope": "resource",
840+
"type": "string"
841+
},
718842
"haskell.plugin.semanticTokens.config.patternSynonymToken": {
719843
"default": "macro",
720844
"description": "LSP semantic token type to use for pattern synonyms",

0 commit comments

Comments
 (0)