From 32b82b89cfc764dbe45004d9c939a5432365bf00 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Fri, 26 Aug 2011 15:31:13 +0300 Subject: [PATCH] generalised the indent rule for procs to handle templates, macros --- indent/nimrod.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indent/nimrod.vim b/indent/nimrod.vim index 8adcd1b..d413f4e 100644 --- a/indent/nimrod.vim +++ b/indent/nimrod.vim @@ -66,8 +66,8 @@ function! GetNimrodIndent(lnum) endif if pline =~ ':\s*$' + \ || pline =~ '=\s*$' \ || pline =~ '\(type\|import\|const\|var\)\s*$' - \ || pline =~ 'proc.*=\s*$' \ || pline =~ '=\s*\(object\|enum\)' return plindent + &sw endif