From: Heikki Junes Date: Fri, 26 Mar 2004 23:11:28 +0000 (+0000) Subject: small fixes. X-Git-Tag: release/2.1.35~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=18c88a4738e736e7d9dcad0cc6347e05d21b6ce7;p=lilypond.git small fixes. --- diff --git a/ChangeLog b/ChangeLog index 121984fe68..20d352c56d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-03-27 Heikki Junes + + * vim/lilypond-indent.vim: small fixes. + 2004-03-26 Mats Bengtsson * Documentation/user/notation.itely (Entering lyrics): Add example diff --git a/vim/lilypond-indent.vim b/vim/lilypond-indent.vim index fd2144b2fd..25d92e9baa 100644 --- a/vim/lilypond-indent.vim +++ b/vim/lilypond-indent.vim @@ -12,7 +12,7 @@ endif let b:did_indent = 1 setlocal indentexpr=GetLilyPondIndent() -setlocal indentkeys+==},>>,!^F +setlocal indentkeys=o,O,},>>,!^F " Only define the function once. if exists("*GetLilyPondIndent") @@ -34,7 +34,7 @@ function GetLilyPondIndent() endif "Check if a block was ended: '}' or '>>' is the first non-blank character of the current line. - elseif getline(v:lnum) =~ '^\s*\(}\|>>\)' + if getline(v:lnum) =~ '^\s*\(}\|>>\)' let ind = ind - &sw endif