On 2010-12-12, Jay Anderson wrote:
> 
> Here's another lilypond vim annoyance. Take these lines as examples:
> 
> \version "2.13.42"
> \once \override Staff.DynamicText #'self-alignment-X = #LEFT
> 
> If you place the cursor over the "2" in the first line or over the "S"
> in Staff in the second line and type 'dw' (delete word) it will treat
> the dots as word characters and result in these lines:
> 
> \version ""
> \once \override #'self-alignment-X = #LEFT
> 
> I would expect it to stop at the dots. I haven't looked too much at
> the syntax file yet to see how this might be easily fixed.

Interesting!

The problem is that LilyPond's Vim syntax file includes the system's
Scheme syntax file, which overrides the `iskeyword' property to
something not-that-desirable for LilyPond files.

I *thought* that by including the Scheme syntax file, the overrides
and such would only apply to the @embeddedScheme group, but I guess
some of them leak through and apply to the entire LilyPond syntax
file.  Seems odd, but there's probably something missing.

I'll think about this some more tomorrow.

Thanks,
Patrick

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to