.config/nvim/after/syntax/sh/pod.vim

Sun, 05 May 2024 13:45:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 May 2024 13:45:55 -0500
changeset 1159
9a19621f294c
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Clean up stray swapfiles too

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