From c9b4b05b3544b434730eb218e848a1a441d5ffb2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 30 Apr 2006 18:54:39 +0000 Subject: updated for version 7.0g --- runtime/indent/mma.vim | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'runtime/indent/mma.vim') diff --git a/runtime/indent/mma.vim b/runtime/indent/mma.vim index 703e7dafd9..356b87618d 100644 --- a/runtime/indent/mma.vim +++ b/runtime/indent/mma.vim @@ -12,7 +12,7 @@ " let filetype_m="mma" " " Credits: -" o steve hacked this out of a random indent file in the Vim 6.1 +" o steve hacked this out of a random indent file in the Vim 6.1 " distribution that he no longer remembers...sh.vim? Thanks! " Only load this indent file when no other was loaded. @@ -30,7 +30,7 @@ if exists("*GetMmaIndent") endif function GetMmaIndent() - + " Hit the start of the file, use zero indent. if v:lnum == 0 return 0 @@ -38,21 +38,21 @@ function GetMmaIndent() " Find a non-blank line above the current line. let lnum = prevnonblank(v:lnum - 1) - - " use indenting as a base + + " use indenting as a base let ind = indent(v:lnum) let lnum = v:lnum - + " if previous line has an unmatched bracket, or ( indent. " doesn't do multiple parens/blocks/etc... - + " also, indent only if this line if this line isn't starting a new " block... TODO - fix this with indentkeys? if getline(v:lnum-1) =~ '\\\@