]> git.donarmstrong.com Git - lilypond.git/commitdiff
* Documentation/topdocs/INSTALL.texi: finish install orders for vim.
authorHeikki Junes <heikki.junes@hut.fi>
Mon, 15 Mar 2004 22:19:11 +0000 (22:19 +0000)
committerHeikki Junes <heikki.junes@hut.fi>
Mon, 15 Mar 2004 22:19:11 +0000 (22:19 +0000)
ChangeLog
Documentation/topdocs/INSTALL.texi

index d8a80a6382b1e59c10e83033d352b57ac8a8e189..23618e4e3def041c009091fbe93c1dd81486884c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-16  Heikki Junes <hjunes@cc.hut.fi>
+
+       * Documentation/topdocs/INSTALL.texi: finish install orders for vim.
+
 2004-03-15  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * lily/paper-book.cc (stencil2line): Bugfix: put stencil in line.
index 1ad727d8dec4683feb405b0d8e189921dd7d95bd..68a46788e7808377ec9db6f61d085b471f1ec846 100644 (file)
@@ -240,12 +240,24 @@ to your @var{load-path}. Append the following line (modified) to your
 
 @c lilypond.words.el for vim auto-completion?
 A Vim mode for entering music and running LilyPond is contained in
-the source archive. Copy recursively the file structure in @file{vim/} as 
-your @file{~/.vim/} to get shortcuts. Install (generated) files
-@file{lilypond.words.el} and @file{lilypond.words.vim} to 
-@file{~/.vim/syntax/} in order to get auto-completion and syntax 
-highlighting.
-
+the source archive. The LilyPond file type is detected if your file
+@file{~/.vim/filetype.vim} has the following content:
+@example
+       if exists("did_load_filetypes")
+         finish
+       endif
+       augroup filetypedetect
+         au! BufNewFile,BufRead *.ly           setf lilypond
+       augroup END
+@end example
+In addition, LilyPond's vim-mode files which are installed to 
+@file{/usr/share/lilypond/vim/} have to be placed in a path specified
+in your @code{$VIMRUNTIME} environment variable. You can add this path 
+to @code{$VIMRUNTIME} by appending the following line to your 
+@file{~/.vimrc}:
+@example
+       set runtimepath+=/usr/share/lilypond/vim/
+@end example
 
 @section Problems