Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
Commit: runtime(cabal): add missing haskell language editions
2 views
Skip to first unread message
Christian Brabandt
unread,
Apr 30, 2026, 2:15:13 PM (23 hours ago)
Apr 30
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
runtime(cabal): add missing haskell language editions
Commit:
https://github.com/vim/vim/commit/7da90de1cb6df8f2dcbab97d3c7b8b83fa0de13d
Author: Léana 江 <
leana.j...@icloud.com
>
Date: Thu Apr 30 18:00:28 2026 +0000
runtime(cabal): add missing haskell language editions
closes:
https://github.com/vim/vim/issues/20097
Signed-off-by: Léana 江 <
leana.j...@icloud.com
>
Signed-off-by: Christian Brabandt <
c...@256bit.org
>
diff --git a/runtime/syntax/cabal.vim b/runtime/syntax/cabal.vim
index a1db25034..ddc905615 100644
--- a/runtime/syntax/cabal.vim
+++ b/runtime/syntax/cabal.vim
@@ -5,6 +5,8 @@
" Previous Maintainer: Vincent Berthoux <
twin...@gmail.com
>
" File Types: .cabal
" Last Change: 22 Oct 2022
+"
+" 2026 Apr 29 by Léana: add missing haskell language editions
" 2026 Apr 20 by Vim project: remove wrong oneline keyword #20018
"
" v1.6: Added support for foreign-libraries
@@ -193,7 +195,9 @@ syn match cabalVersionRegionB
\ contains=cabalStatementRegion,cabalVersionOperator,cabalVersion
\ /^\s*\%(cabal-\)\?version\s*:.*$/
-syn keyword cabalLanguage Haskell98 Haskell2010
+" See the following link for all Haskell language editions supported by Cabal.
+"
https://cabal.readthedocs.io/en/stable/cabal-package-description-file.html#pkg-field-default-language
+syn keyword cabalLanguage Haskell98 Haskell2010 GHC2021 GHC2024
" title region
syn match cabalName contained /:\@<=.*/
Reply all
Reply to author
Forward
0 new messages