Mercurial > vim
view runtime/syntax/cabalproject.vim @ 33951:45a50fd59a73 v9.0.2170
patch 9.0.2170: Vim9: no support for const/final class/objects vars
Commit: https://github.com/vim/vim/commit/e5437c542709b77ade084f96e60d84d4e847e6d3
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Dec 16 14:11:19 2023 +0100
patch 9.0.2170: Vim9: no support for const/final class/objects vars
Problem: Vim9: no support for const/final class/objects vars
Solution: Support final and const object and class variables
closes: #13655
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Dec 2023 14:15:05 +0100 |
parents | 29c5f168c6fd |
children |
line wrap: on
line source
" Vim syntax file " Language: Cabal Project " Maintainer: profunctor@pm.me " Last Change: Marcin Szamotulski " Original Author: Marcin Szamotulski if exists("b:current_syntax") finish endif syn match CabalProjectComment /^\s*--.*/ contains=@Spell syn match CabalProjectField /^\w\%(\w\|-\)\+/ contains=@NoSpell syn keyword CabalProjectBoolean true false True False syn keyword CabalProjectCompiler ghc ghcjs jhc lhc uhc haskell-suite syn match CabalProjectNat /\<\d\+\>/ syn keyword CabalProjectJobs $ncpus syn keyword CabalProjectProfilingLevel default none exported-functions toplevel-functions all-functions hi def link CabalProjectComment Comment hi def link CabalProjectField Statement hi def link CabalProjectBoolean Boolean hi def link CabalProjectCompiler Identifier hi def link CabalProjectNat Number hi def link CabalProjectJobs Number hi def link CabalProjectProfilingLevel Statement let b:current_syntax = "cabal.project"