2013/7/30 Mark Polesky <[email protected]> > I'm temporarily on a windows machine, and a I'm trying to > get the syntax highlighting to work with vim. I followed > the instructions in the docs here: > > http://lilypond.org/doc/v2.17/Documentation/usage/text-editor-support.html#vim-mode > > When I opened an .ly file in vim, I got this error: > > Error detected while processing C:\Program > Files\LilyPond\usr\share\lilypond\current\vim\syntax\lilypond.vim: > line 54: > E108: No such variable: "b:current_syntax" > > I changed the offending line ("unlet b:current_syntax") to: > > if exists("b:current_syntax") > unlet b:current_syntax > endif > > and the error message went away. Is that a bug? >
I can't test the Windows error... I don't understand: LilyPond syntax is higlighted correctly and only Scheme is not highlighted? What the documentation is omitting is "syntax on" I would add it to: filetype off set runtimepath+=/usr/local/share/lilypond/current/vim/ filetype on syntax on _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
