From 8c3157684f85acaa2b9a7ab2a9b6becd0a18a40a Mon Sep 17 00:00:00 2001 From: Vitaliy Viflinzider Date: Mon, 27 Feb 2017 13:30:54 +0200 Subject: [PATCH] Add Perl syntax highlighting Fixes #91 Fixes #90 --- build/templates/onedark.template.vim | 15 +++++++++++++++ colors/onedark.vim | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/build/templates/onedark.template.vim b/build/templates/onedark.template.vim index 4893896..d92aaaa 100644 --- a/build/templates/onedark.template.vim +++ b/build/templates/onedark.template.vim @@ -421,6 +421,21 @@ call s:h("xmlEndTag", { "fg": s:red }) call s:h("xmlTag", { "fg": s:red }) call s:h("xmlTagName", { "fg": s:red }) +" Perl +call s:h("perlFiledescRead", { "fg": s:green }) +call s:h("perlFunction", { "fg": s:purple }) +call s:h("perlMatchStartEnd",{ "fg": s:blue }) +call s:h("perlMethod", { "fg": s:purple }) +call s:h("perlSharpBang", { "fg": s:comment_grey }) +call s:h("perlSpecialString",{ "fg": s:cyan }) +call s:h("perlStatementFiledesc", { "fg": s:red }) +call s:h("perlStatementFlow",{ "fg": s:red }) +call s:h("perlStatementInclude", { "fg": s:purple }) +call s:h("perlStatementScalar",{ "fg": s:purple }) +call s:h("perlStatementStorage", { "fg": s:purple }) +call s:h("perlSubName",{ "fg": s:yellow }) +call s:h("perlVarPlain",{ "fg": s:blue }) + " +---------------------+ " | Plugin Highlighting | " +---------------------+ diff --git a/colors/onedark.vim b/colors/onedark.vim index 637ffc1..c436ffc 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -421,6 +421,21 @@ call s:h("xmlEndTag", { "fg": s:red }) call s:h("xmlTag", { "fg": s:red }) call s:h("xmlTagName", { "fg": s:red }) +" Perl +call s:h("perlFiledescRead", { "fg": s:green }) +call s:h("perlFunction", { "fg": s:purple }) +call s:h("perlMatchStartEnd",{ "fg": s:blue }) +call s:h("perlMethod", { "fg": s:purple }) +call s:h("perlSharpBang", { "fg": s:comment_grey }) +call s:h("perlSpecialString",{ "fg": s:cyan }) +call s:h("perlStatementFiledesc", { "fg": s:red }) +call s:h("perlStatementFlow",{ "fg": s:red }) +call s:h("perlStatementInclude", { "fg": s:purple }) +call s:h("perlStatementScalar",{ "fg": s:purple }) +call s:h("perlStatementStorage", { "fg": s:purple }) +call s:h("perlSubName",{ "fg": s:yellow }) +call s:h("perlVarPlain",{ "fg": s:blue }) + " +---------------------+ " | Plugin Highlighting | " +---------------------+