Skip to content

Commit 5c837fa

Browse files
authored
Prepare pre-release 2.5.3 (#1081)
* Bump dev dependencies * Add new HLS plugin configurations * Add ChangeLog for 2.5.3 * Fix GenChangelogs
1 parent a457684 commit 5c837fa

File tree

4 files changed

+283
-111
lines changed

4 files changed

+283
-111
lines changed

Changelog.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog for vscode-haskell
22

3+
## 2.5.3
4+
5+
- Split out packaging action
6+
([#1080](https://github.com/haskell/vscode-haskell/pull/1080)) by @fendor
7+
- Add Session Loading style to list of known configs
8+
([#1077](https://github.com/haskell/vscode-haskell/pull/1077)) by @fendor
9+
- Tooling update
10+
([#1043](https://github.com/haskell/vscode-haskell/pull/1043)) by @bzm3r
11+
- Add `haskell.plugin.fourmolu.config.path` option
12+
([#987](https://github.com/haskell/vscode-haskell/pull/987)) by @georgefst
13+
314
## 2.5.2
415

516
- Includes changes of the 2.4.3 release

GenChangelogs.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import System.Process
1919

2020
main = do
2121
callCommand "git fetch --tags"
22-
tags <- filter (isPrefixOf "1.") . lines <$>
22+
tag <- last . lines <$>
2323
readProcess "git" ["tag", "--list", "--sort=v:refname"] ""
2424

25-
lastDateStr <- last . lines <$> readProcess "git" ["show", "-s", "--format=%cI", "-1", last tags] ""
25+
lastDateStr <- last . lines <$> readProcess "git" ["show", "-s", "--format=%cI", "-1", tag] ""
2626
lastDate <- zonedTimeToUTC <$> iso8601ParseM lastDateStr
2727

2828
args <- getArgs

package.json

+127-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "haskell",
33
"displayName": "Haskell",
44
"description": "Haskell language support powered by the Haskell Language Server",
5-
"version": "2.5.2",
5+
"version": "2.5.3",
66
"license": "MIT",
77
"publisher": "haskell",
88
"engines": {
@@ -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)