Vim Tips Wiki
No edit summary
No edit summary
Line 5: Line 5:
 
# Function
 
# Function
 
snippet pro
 
snippet pro
PROCEDURE ${1:function_name} {<cr>
+
PROCEDURE ${1:function_name} {
 
${2:#body ...}
 
${2:#body ...}
 
END ${1};
 
END ${1};

Revision as of 15:01, 26 March 2010

Hi, I've just installed snipmate and am trying to add a snippets file for Oberon/Modula.

I created the snippets file from the PERL one, and added a pro tag like this:

  1. Function

snippet pro PROCEDURE ${1:function_name} { ${2:#body ...} END ${1};

I added the .Mod to the Modula 2 filetypes file.

I'm getting the following error:

"test.Mod" [New File] Error detected while processing BufNewFile Auto commands for "*.Mod": E20: Mark not set


Can you help me with this?

TIA, Fitz fitzfitzpatrick.work AT gmail.com