Skip to content

Commit

Permalink
Fix bug in CciCnfParameter region
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhiroki committed Aug 20, 2019
1 parent eb0c64d commit 363b117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/circleci.vim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let s:cci_keywords_key = '\%(^\|\s\)\@<=\zs\%('.join(circleci#GetKeywords(), '\|
let s:cci_keywords_conditional_key = '\%(^\|\s\)\@<=\zs\%('.join(circleci#GetKeywordsConditional(), '\|').'\)\ze\%(\s*:\|$\)'
let s:cci_keywords_step_key = '\%([0-9A-Za-z_-]\)\@<!\%('.join(circleci#GetKeywordsStep(), '\|').'\)\ze\%(\s*:\|$\)'

syn region CciCnfParameter matchgroup=PreProc start="<<[^:]" end=">>" containedin=yamlPlainScalar keepend
syn region CciCnfParameter matchgroup=PreProc start="<<\ze[^:]" end=">>" containedin=yamlPlainScalar keepend
syn region CciCnfTemplate matchgroup=PreProc start="{{" end="}}" containedin=yamlPlainScalar keepend

exe 'syn match CciCnfKeywords /'.s:cci_keywords_key.'/ contained nextgroup=yamlKeyValueDelimiter containedin=yamlBlockMappingKey'
Expand Down

0 comments on commit 363b117

Please sign in to comment.