diff --git a/CHANGELOG.md b/CHANGELOG.md index a84e469..e14e7bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Add support for `\cases` syntax ([#218](https://github.com/JustusAdam/language-haskell/pull/218)), thanks to [@mixphix](https://github.com/mixphix) - Fix bare unit type applications ([#225](https://github.com/JustusAdam/language-haskell/issue/225)), thanks to [@mixphix](https://github.com/mixphix) - Fix qualified type operators in export lists ([#191](https://github.com/JustusAdam/language-haskell/issue/191)), thanks to [@mixphix] +- Add support for `elif` in Cabal files (`cabal-version` >= 2.2) ([#236](https://github.com/JustusAdam/language-haskell/pull/236)) ## 3.6.0 - 15.03.2022 diff --git a/syntaxes/cabal.YAML-tmLanguage b/syntaxes/cabal.YAML-tmLanguage index 0e8b1a1..262301d 100644 --- a/syntaxes/cabal.YAML-tmLanguage +++ b/syntaxes/cabal.YAML-tmLanguage @@ -94,7 +94,7 @@ patterns: '1': {name: entity.name.section.cabal} '3': {name: entity.name.function.cabal} - name: keyword.control.cabal - match: '^[ \t]*(if|else)' + match: '^[ \t]*(if|elif|else)' - name: comment.line.double-dash match: '^\s*--.*$' scopeName: source.cabal