[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vim
From: |
Rafael F. Compte |
Subject: |
Re: vim |
Date: |
Sat, 12 Apr 2008 15:50:17 -0300 |
Hi, I think I managed to make Vim do syntax highlighting but I don't
get lilypond as an option in gvim dropdown syntax menu. Any ideas? Any
other integration tips?
On Sat, Apr 12, 2008 at 2:27 PM, Stefan Thomas
<address@hidden> wrote:
> Dear Patrick,
> I had luck, it worked!
> Thanks
> Stefan
>
> 2008/4/10, Patrick McCarty <address@hidden>:
> >
> > On Thu, Apr 10, 2008 at 03:56:26PM +0200, Stefan Thomas wrote:
> > > Dear lilypond-users,
> > > I have a question concerning vim. I've read that there is a special
> > > vimrc available. But where can I get or find it? And I've also read
> > > that I have to add to the file " ~/.vim/filetype.vim "
> > > the message
> > > if exists("did_load_filetypes")
> > > finish
> > > endif
> > > augroup filetypedetect
> > > au! BufNewFile,BufRead *.ly setf lilypond
> > > augroup END
> > > But unfortunately I don't find a file of the kind
> > > ~/.vim/filetype.vim. What can I do?
> > > Thanks for Your support!
> > > Stefan
> >
> >
> > Hi Stefan,
> >
> > If you have LilyPond installed in Linux, the necessary content for
> > ~/.vim/filetype.vim and ~/.vimrc is not installed by default. You
> > have to add it yourself.
> >
> > Just add the if exists(...) stuff to ~/.vim/filetype.vim, or create
> > ~/.vim/filetype.vim with this content if the file does not exist.
> > Then add the following line to ~/.vimrc
> >
> > set runtimepath+=~/lilypond/usr/share/lilypond/current/vim/
> >
> > If that doesn't work, find out where this "vim" directory is located,
> > and change the path accordingly.
> >
> > Hope this helps,
> >
> > Patrick
> >
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
--
Rafael F.
------------------------------
()
/\ www.asciiribbon.org
- vim, Stefan Thomas, 2008/04/10
- Message not available
- Re: vim, Stefan Thomas, 2008/04/12
- Re: vim,
Rafael F. Compte <=
- Re:vim, Romel Anthony S. Bismonte, 2008/04/10