On 2009-11-04, Neil Puttock wrote: > 2009/11/4 Michael Käppler <xmichae...@web.de>: > > > Does it make sense to use this emacs script, if yes, what do I > > have to keep in mind when using it? > > If you're using Vim, you should be fine (though I read somewhere that > it occasionally indents Lisp and Scheme incorrectly).
The rumors are true. :-) To make my life easier, I use the attached (incomplete) configuration file, which is located in ~/.vim/after/syntax/scheme.vim on my machine. -Patrick
" Additional Guile-specific 'forms' syn keyword schemeSyntax define-public define* define-safe-public syn keyword schemeSyntax use-modules define-module syn keyword schemeSyntax defmacro-public define-macro syn keyword schemeSyntax define-builtin-markup-command syn keyword schemeSyntax define-markup-command syn keyword schemeSyntax define-builtin-markup-list-command syn keyword schemeSyntax let-keywords* lambda* define*-public syn keyword schemeSyntax defmacro* defmacro*-public " All of the above should influence indenting too set lw+=define-public,define*,define-safe-public,use-modules,define-module set lw+=defmacro-public,define-macro,define-builtin-markup-command set lw+=define-markup-command,define-builtin-markup-list-command set lw+=let-keywords*,lambda*,define*-public,defmacro*,defmacro*-public " These forms should not influence indenting set lw-=if set lw-=set! " Try to highlight all ly: procedures syn match schemeFunc "ly:[^) ]\+"
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel