diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-11 13:57:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-11 13:57:40 +0200 |
commit | 4f4d51a942cc2c6b3e936ee0f93f00c2d000065c (patch) | |
tree | 68c8e3f28d26abf029d6d67747897b1bf43b885c /runtime/syntax/cabal.vim | |
parent | c6ed254d9fda0ff54cdedce5597ff3e0d0218d18 (diff) | |
download | vim-git-4f4d51a942cc2c6b3e936ee0f93f00c2d000065c.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/syntax/cabal.vim')
-rw-r--r-- | runtime/syntax/cabal.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/syntax/cabal.vim b/runtime/syntax/cabal.vim index 8af47d404..73c7186a8 100644 --- a/runtime/syntax/cabal.vim +++ b/runtime/syntax/cabal.vim @@ -4,7 +4,7 @@ " Maintainer: Marcin Szamotulski <profunctor@pm.me> " Previous Maintainer: Vincent Berthoux <twinside@gmail.com> " File Types: .cabal -" Last Change: 15 May 2018 +" Last Change: 3 Oct 2020 " v1.5: Incorporated changes from " https://github.com/sdiehl/haskell-vim-proto/blob/master/vim/syntax/cabal.vim " Use `syn keyword` instead of `syn match`. @@ -62,11 +62,12 @@ syn keyword cabalCategory contained \ source-repository \ flag \ custom-setup + \ common syn match cabalCategoryTitle contained /[^{]*\ze{\?/ syn match cabalCategoryRegion \ contains=cabalCategory,cabalCategoryTitle \ nextgroup=cabalCategory skipwhite - \ /^\c\s*\(contained\|executable\|library\|benchmark\|test-suite\|source-repository\|flag\|custom-setup\)\+\s*\%(.*$\|$\)/ + \ /^\c\s*\(contained\|executable\|library\|benchmark\|test-suite\|source-repository\|flag\|custom-setup\|common\)\+\s*\%(.*$\|$\)/ syn keyword cabalTruth true false " cabalStatementRegion which limits the scope of cabalStatement keywords, this @@ -76,6 +77,7 @@ syn keyword cabalStatement contained containedin=cabalStatementRegion \ default-language \ default-extensions \ author + \ autogen-modules \ branch \ bug-reports \ build-depends @@ -110,6 +112,7 @@ syn keyword cabalStatement contained containedin=cabalStatementRegion \ homepage \ hs-source-dirs \ hugs-options + \ import \ include-dirs \ includes \ install-includes |