diff options
author | Heikki Junes <heikki.junes@hut.fi> | 2004-03-26 23:11:28 +0000 |
---|---|---|
committer | Heikki Junes <heikki.junes@hut.fi> | 2004-03-26 23:11:28 +0000 |
commit | 18c88a4738e736e7d9dcad0cc6347e05d21b6ce7 (patch) | |
tree | 54a772f79ee6c2677243fbbfc9f56a78161ed1aa | |
parent | d327fce8217c1536957065f7ccf0d21447bea3f8 (diff) |
small fixes.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vim/lilypond-indent.vim | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2004-03-27 Heikki Junes <hjunes@cc.hut.fi> + + * vim/lilypond-indent.vim: small fixes. + 2004-03-26 Mats Bengtsson <mabe@drongo.s3.kth.se> * 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 |