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

Wed, 25 Sep 2024 15:03:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 25 Sep 2024 15:03:13 -0500
changeset 1179
b0a0ba3240b5
parent 744
7a5823050d74
permissions
-rw-r--r--

No LSP autostart when read-only

I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.

363
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 let s:current_syntax = b:current_syntax
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 unlet b:current_syntax
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 syn include @Pod syntax/pod.vim
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 syn region shPOD start="^=pod" start="^=head" end="^=cut" keepend contained contains=@Pod
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 let b:current_syntax = s:current_syntax
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 syn region shPODHeredoc start="^:<<=cut" end="^=cut" keepend contains=shPOD
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
8
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
9 hi! def link shPOD Comment
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10 hi! def link podCommand SpecialComment
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 hi! def link podCmdText Question
394bcf0d5bac add POD highlighting for shell
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 hi! def link podFormat StorageClass

mercurial