" Language: LilyPond
" Maintainer: Heikki Junes <hjunes@cc.hut.fi>
" Last Change: 2004 Mar 01
-
+"
+" Installed As: vim/indent/lilypond.vim
+"
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
let b:did_indent = 1
setlocal indentexpr=GetLilyPondIndent()
-setlocal indentkeys+==},>>,!^F
+setlocal indentkeys=o,O,},>>,!^F
" Only define the function once.
if exists("*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