diff --git a/.config/nvim/after/syntax/sh/pod.vim b/.config/nvim/after/syntax/sh/pod.vim new file mode 100644 --- /dev/null +++ b/.config/nvim/after/syntax/sh/pod.vim @@ -0,0 +1,12 @@ +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