lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Syntax Completion in Vim


From: Marc Weber
Subject: Re: Syntax Completion in Vim
Date: Mon, 30 Jul 2018 15:38:38 +0200
User-agent: Sup/0.22.1

There are many ways

  - putting all those words in a buffer (or :e
    $VIMRUNTIME/syntax/lilypond.vim or such), then ctrl-n might just work

  - write your own completion using viml
    or some glue code like
    https://github.com/MarcWeber/editor-cells

    which allows to mix multiple completion systems easily - you can even
    write them using Python - but requires some setup.

  - use templates such as snipmate and define snippets, then use the
    snippets engine's complete system.

    Eg compare snipmate (most simple) with UltiSnips or such also
    supporting nested placeholders

  - use ctags to generate tag files - eg using regex and complete based
    on those.

lilypond allows includes, so the perfect completion system would follow
those.

Marc Weber



reply via email to

[Prev in Thread] Current Thread [Next in Thread]