This commit is contained in:
Adam Stankiewicz
2021-07-28 17:54:35 +02:00
parent 554a6ac757
commit ce31cd1d2f
16 changed files with 209 additions and 87 deletions

View File

@@ -92,7 +92,7 @@ if exists("g:ansible_extra_keywords_highlight")
\ debugger always_run check_mode diff no_log args tags force_handlers
\ vars vars_files vars_prompt delegate_facts delegate_to
\ any_errors_fatal ignore_errors ignore_unreachable max_fail_percentage
\ connection hosts port remote_user module_defaults
\ connection children hosts port remote_user module_defaults
\ environment fact_path gather_facts gather_subset gather_timeout
\ async poll throttle timeout order run_once serial strategy
\ containedin='.s:yamlKey.' contained'

View File

@@ -36,7 +36,7 @@ syntax keyword typescriptClassStatic static
syntax keyword typescriptAccessibilityModifier public private protected contained
syntax keyword typescriptReadonlyModifier readonly contained
syntax keyword typescriptReadonlyModifier readonly override contained
syntax region typescriptStringMember contained
\ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1/

View File

@@ -9,7 +9,7 @@ endif
" Last Change: 2019-09-01
" quit when a syntax file was already loaded {{{1
if exists("b:current_syntax")
if exists('b:current_syntax')
finish
endif
@@ -29,5 +29,5 @@ syn region ePuppetComment matchgroup=ePuppetDelimiter start="<%-\=#" end=
hi def link ePuppetDelimiter PreProc
hi def link ePuppetComment Comment
let b:current_syntax = "epuppet"
let b:current_syntax = 'epuppet'

View File

@@ -33,7 +33,7 @@ syn match gitDiffAdded "{+[^}]*+}" contained containedin=gitDiff
syn match gitDiffRemoved "^ \+-.*" contained containedin=gitDiffMerge
syn match gitDiffRemoved "\[-[^]]*-\]" contained containedin=gitDiff
syn match gitKeyword /^\%(object\|type\|tag\|commit\|tree\|parent\|encoding\|gpgsig\|summary\|boundary\|filename\|previous\)\>/ contained containedin=gitHead nextgroup=gitHash,gitType skipwhite contains=@NoSpell
syn match gitKeyword /^\%(object\|type\|tag\|commit\|tree\|parent\|encoding\|gpgsig\%(-\w\+\)\=\|summary\|boundary\|filename\|previous\)\>/ contained containedin=gitHead nextgroup=gitHash,gitType skipwhite contains=@NoSpell
syn match gitKeyword /^\%(tag\>\|ref:\)/ contained containedin=gitHead nextgroup=gitReference skipwhite contains=@NoSpell
syn match gitKeyword /^Merge:/ contained containedin=gitHead nextgroup=gitHashAbbrev skipwhite contains=@NoSpell
syn match gitMode /^\d\{6\}\>/ contained containedin=gitHead nextgroup=gitType,gitHash skipwhite

View File

@@ -10,7 +10,7 @@ endif
" and heredoc was copied from ruby and then modified to comply with Puppet syntax.
" Prelude {{{1
if exists("b:current_syntax")
if exists('b:current_syntax')
finish
endif
@@ -437,4 +437,4 @@ HiLink puppetComment Comment
delcommand HiLink
let b:current_syntax = "puppet"
let b:current_syntax = 'puppet'