source: highlight perl signatures as Type instead of Error
[sheet.git] / source.plp
index b586dbe2b028d439a5ee069b2520cc41c04e3e15..e07087d6115ac38bf19089f669d926a0631aef9d 100644 (file)
@@ -99,7 +99,10 @@ else {
                delete $Text::VimColor::SYNTAX_TYPE{Underlined};
                return Text::VimColor->new(
                        file => $path,
-                       vim_options => [@Text::VimColor::VIM_OPTIONS, '+:set enc=utf-8'],
+                       vim_options => [@Text::VimColor::VIM_OPTIONS,
+                               '+:set enc=utf-8',
+                               '+:let perl_sub_signatures=1',
+                       ],
                )->marked;
        }) {
                my %TYPETAG = (