summaryrefslogtreecommitdiffstats
path: root/syntax/perl.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-03-11 00:36:09 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-03-11 00:36:09 +0100
commit94f72a68c3dccade13ec7203a284620040f930f1 (patch)
treea19a08381285c40c59f882b211039514ea2e69d4 /syntax/perl.vim
parent9b3b092d15503ed70ea4bf60c4e1345b196c3677 (diff)
downloadvim-polyglot-1.5.3.tar.gz
vim-polyglot-1.5.3.zip
Updatev1.5.3
Diffstat (limited to 'syntax/perl.vim')
-rw-r--r--syntax/perl.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/syntax/perl.vim b/syntax/perl.vim
index 4b1c89b8..c7a2f4d5 100644
--- a/syntax/perl.vim
+++ b/syntax/perl.vim
@@ -95,7 +95,7 @@ syn match perlStatementVector "\<vec\>"
syn match perlStatementFiles "\<\%(ch\%(dir\|mod\|own\|root\)\|glob\|link\|mkdir\|readlink\|rename\|rmdir\|symlink\|umask\|unlink\|utime\)\>"
syn match perlStatementFiles "-[rwxoRWXOezsfdlpSbctugkTBMAC]\>"
syn match perlStatementFlow "\<\%(caller\|die\|dump\|eval\|exit\|wantarray\|evalbytes\)\>"
-syn match perlStatementInclude "\<\%(require\|import\)\>"
+syn match perlStatementInclude "\<\%(require\|import\|unimport\)\>"
syn match perlStatementInclude "\<\%(use\|no\)\s\+\%(\%(attributes\|attrs\|autouse\|parent\|base\|big\%(int\|num\|rat\)\|blib\|bytes\|charnames\|constant\|diagnostics\|encoding\%(::warnings\)\=\|feature\|fields\|filetest\|if\|integer\|less\|lib\|locale\|mro\|open\|ops\|overload\|re\|sigtrap\|sort\|strict\|subs\|threads\%(::shared\)\=\|utf8\|vars\|version\|vmsish\|warnings\%(::register\)\=\)\>\)\="
syn match perlStatementProc "\<\%(alarm\|exec\|fork\|get\%(pgrp\|ppid\|priority\)\|kill\|pipe\|set\%(pgrp\|priority\)\|sleep\|system\|times\|wait\%(pid\)\=\)\>"
syn match perlStatementSocket "\<\%(accept\|bind\|connect\|get\%(peername\|sock\%(name\|opt\)\)\|listen\|recv\|send\|setsockopt\|shutdown\|socket\%(pair\)\=\)\>"
@@ -513,7 +513,9 @@ HiLink perlStatementIndirObj perlStatement
HiLink perlFunctionName perlIdentifier
HiLink perlMethod perlIdentifier
HiLink perlFunctionPRef perlType
-HiLink perlPOD perlComment
+if !get(g:, 'perl_include_pod', 1)
+ HiLink perlPOD perlComment
+endif
HiLink perlShellCommand perlString
HiLink perlSpecialAscii perlSpecial
HiLink perlSpecialDollar perlSpecial