Skip to content

Commit 0f40265

Browse files
committed
Fix #201 Support elif in Cabal files
1 parent 298729d commit 0f40265

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Add support for `\cases` syntax ([#218](https://github.com/JustusAdam/language-haskell/pull/218)), thanks to [@mixphix](https://github.com/mixphix)
55
- Fix bare unit type applications ([#225](https://github.com/JustusAdam/language-haskell/issue/225)), thanks to [@mixphix](https://github.com/mixphix)
66
- Fix qualified type operators in export lists ([#191](https://github.com/JustusAdam/language-haskell/issue/191)), thanks to [@mixphix]
7+
- Add support for `elif` in Cabal files (`cabal-version` >= 2.2) ([#236](https://github.com/JustusAdam/language-haskell/pull/236))
78

89
## 3.6.0 - 15.03.2022
910

syntaxes/cabal.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ patterns:
9494
'1': {name: entity.name.section.cabal}
9595
'3': {name: entity.name.function.cabal}
9696
- name: keyword.control.cabal
97-
match: '^[ \t]*(if|else)'
97+
match: '^[ \t]*(if|elif|else)'
9898
- name: comment.line.double-dash
9999
match: '^\s*--.*$'
100100
scopeName: source.cabal

0 commit comments

Comments
 (0)