Stefano Forli wrote: > Charles, > > thank you for your quick answer! > I tested your files but I wasn't able to figure out how to make them work, > even following > your advices. > > I'm using Vim 7.0.305 on a Debian system, and I tried all the options I was > aware of: > - copying all $HOME/.vim(/syntax) directories (that weren't there before I > created them) > - copying all to the system-wide /usr/share/vim/vim70(/syntax) location > > Surprisingly (at least for me), sourcing manually the file > > :source $HOME/.vim/syntax/pdb.vim > > doesn't give any error. > You're welcome.
Sounds like you need to have plugins enabled, and perhaps syntax highlighting. 1. vim --version | fgrep syntax : does this show +syntax or -syntax? (you need +syntax) 2. put into your $HOME/.vimrc: set nocp filetype plugin indent on syn on Vim is up to 7.2.148 now, so 7.0.305 is fairly old -- you probably should consider upgrading vim, too. I'm not sure what you meant by "copying all $HOME/.vim(/syntax) directories" . As a minimum with the two files I gave you: $HOME/.vim $HOME/.vim/filetype.vim $HOME/.vim/syntax $HOME/.vim/syntax/pdb.vim I set up filetype .vim so it would trigger on files with a .pdb suffix. If you want something else, you should change it. HTH, Chip Campbell --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
