# New Ticket Created by chromatic # Please include the string: [perl #30946] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=30946 >
Hi there, Here's a small patch that adds syntax highlighting to macros in .imc and .pir files. If no one hollers in a day or so, I'll check it in. -- c
Index: editor/imc.vim.in =================================================================== RCS file: /cvs/public/parrot/editor/imc.vim.in,v retrieving revision 1.4 diff -u -u -r1.4 imc.vim.in --- editor/imc.vim.in 16 Apr 2004 12:49:11 -0000 1.4 +++ editor/imc.vim.in 4 Aug 2004 05:10:48 -0000 @@ -29,7 +29,7 @@ syn keyword imcOp call goto if unless global clone addr -syn match imcDirective /\.\(sub\|pcc_sub\|end\|emit\|eom\)/ +syn match imcDirective /\.\(sub\|pcc_sub\|macro\|endm\|end\|emit\|eom\)/ syn match imcDirective /\.\(local\|sym\|const\)/ syn match imcDirective /\.\(namespace\|endnamespace\)/ syn match imcDirective /\.\(param\|result\|arg\|return\)/