X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2Flilypond-ftplugin.vim;h=2a2a580159f21304a55d0b6bf50210630994aa8b;hb=c15ee7f1e5493bd3286bcf3fd1900029d036404a;hp=46470cc6d4dbd412f273cde30e0a4bcc6bcdadc9;hpb=ae4c400ecf8f5fe468cbe6d35cdabf08b57be297;p=lilypond.git diff --git a/vim/lilypond-ftplugin.vim b/vim/lilypond-ftplugin.vim index 46470cc6d4..2a2a580159 100644 --- a/vim/lilypond-ftplugin.vim +++ b/vim/lilypond-ftplugin.vim @@ -2,7 +2,10 @@ " Language: LilyPond (ft=ly) " Maintainer: Heikki Junes " Last Change: 2004 March 1 - +" +" Installed As: vim/ftplugin/lilypond.vim +" Uses Generated File: vim/syntax/lilypond-words.el +" " Only do this when not done yet for this buffer if exists("b:did_ftplugin") finish @@ -51,7 +54,7 @@ map :g!/%.*/normal 0i% map :g/%.*/normal 0x " " Completions in Insert/Replace-mode with -setlocal dictionary-=~/.vim/syntax/lilypond.words.el dictionary+=~/.vim/syntax/lilypond.words.el +setlocal dictionary-=$VIM/syntax/lilypond-words dictionary+=$VIM/syntax/lilypond-words setlocal complete-=k complete+=k " setlocal showmatch