Mercurial > vim
view runtime/syntax/gyp.vim @ 33293:42b89193ab3e v9.0.1912
patch 9.0.1912: Cirrus-CI running out of credits
Commit: https://github.com/vim/vim/commit/6f00d17e8d64ed46c85625e8ac38ed0928b32c58
Author: Christian Brabandt <cb@256bit.org>
Date: Tue Sep 19 20:16:46 2023 +0200
patch 9.0.1912: Cirrus-CI running out of credits
Problem: Cirrus-CI running out of credits
Solution: disable Cirrus-CI for now
We are running out of credits for Cirrus CI already at the middle of the
month and unfortunately this means our CI now consistently fails. This
all hapens because cirrus ci is not enforcing the free-tier limits (see also
https://cirrus-ci.org/blog/2023/07/17/limiting-free-usage-of-cirrus-ci/).
Perhaps at the beginning of the next month we can revisit and
enable just a build without testing it. Hopefully this is won't take
too many credits and we can at least verify that building works.
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Sep 2023 20:30:10 +0200 |
parents | 1e91e26ceebf |
children |
line wrap: on
line source
" Vim syntax file " Language: GYP " Maintainer: ObserverOfTime <chronobserver@disroot.org> " Filenames: *.gyp,*.gypi " Last Change: 2022 Sep 27 if !exists('g:main_syntax') if exists('b:current_syntax') && b:current_syntax ==# 'gyp' finish endif let g:main_syntax = 'gyp' endif " Based on JSON syntax runtime! syntax/json.vim " Single quotes are allowed syn clear jsonStringSQError syn match jsonKeywordMatch /'\([^']\|\\\'\)\+'[[:blank:]\r\n]*\:/ contains=jsonKeyword if has('conceal') && (!exists('g:vim_json_conceal') || g:vim_json_conceal==1) syn region jsonKeyword matchgroup=jsonQuote start=/'/ end=/'\ze[[:blank:]\r\n]*\:/ concealends contained else syn region jsonKeyword matchgroup=jsonQuote start=/'/ end=/'\ze[[:blank:]\r\n]*\:/ contained endif syn match jsonStringMatch /'\([^']\|\\\'\)\+'\ze[[:blank:]\r\n]*[,}\]]/ contains=jsonString if has('conceal') && (!exists('g:vim_json_conceal') || g:vim_json_conceal==1) syn region jsonString oneline matchgroup=jsonQuote start=/'/ skip=/\\\\\|\\'/ end=/'/ concealends contains=jsonEscape contained else syn region jsonString oneline matchgroup=jsonQuote start=/'/ skip=/\\\\\|\\'/ end=/'/ contains=jsonEscape contained endif " Trailing commas are allowed if !exists('g:vim_json_warnings') || g:vim_json_warnings==1 syn clear jsonTrailingCommaError endif " Python-style comments are allowed syn match jsonComment /#.*$/ contains=jsonTodo,@Spell syn keyword jsonTodo FIXME NOTE TODO XXX TBD contained hi def link jsonComment Comment hi def link jsonTodo Todo let b:current_syntax = 'gyp' if g:main_syntax ==# 'gyp' unlet g:main_syntax endif