X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=vim%2Flilypond-ftplugin.vim;h=1579388a425556c6807e429283232c4b3e9a77ee;hb=6b8ac4d857bdf6de37b86e4bbeb1891b223bf1da;hp=46470cc6d4dbd412f273cde30e0a4bcc6bcdadc9;hpb=ae4c400ecf8f5fe468cbe6d35cdabf08b57be297;p=lilypond.git diff --git a/vim/lilypond-ftplugin.vim b/vim/lilypond-ftplugin.vim index 46470cc6d4..1579388a42 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 @@ -23,7 +26,7 @@ map :w:se makeprg=lilypond\ -m\ %<:make:!t map :w:se makeprg=lilypond\ %<:make " " view ps -map :!gv -watch %<.ps & +map :!gv --watch %<.ps & " " view dvi map :!xdvi %<.dvi & @@ -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