.vim/after/syntax/sh/pod.vim

Sat, 08 Apr 2023 18:06:43 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 18:06:43 -0400
changeset 1104
90aa391abc44
parent 744
7a5823050d74
permissions
-rw-r--r--

include needs to appear before a host match (sections actually ignore indents)

let s:current_syntax = b:current_syntax
unlet b:current_syntax
syn include @Pod syntax/pod.vim
syn region shPOD        start="^=pod" start="^=head" end="^=cut" keepend contained contains=@Pod
let b:current_syntax = s:current_syntax

syn region shPODHeredoc start="^:<<=cut" end="^=cut" keepend contains=shPOD

hi! def link shPOD        Comment
hi! def link podCommand   SpecialComment
hi! def link podCmdText   Question
hi! def link podFormat    StorageClass

mercurial