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 /vim | |
parent | d327fce8217c1536957065f7ccf0d21447bea3f8 (diff) |
small fixes.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/lilypond-indent.vim | 4 |
1 files changed, 2 insertions, 2 deletions
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 |