3 " Maintainer: Heikki Junes <hjunes@cc.hut.fi>
4 " Last Change: 2004 Mar 01
6 " Only load this indent file when no other was loaded.
7 if exists("b:did_indent")
12 setlocal indentexpr=GetLilyPondIndent()
14 " Only define the function once.
15 if exists("*GetLilyPondIndent")
19 function GetLilyPondIndent()
24 "Find a non-blank line above the current line.
25 let lnum = prevnonblank(v:lnum - 1)
26 let ind = indent(lnum)