On 2009-11-25, Tuo Pe wrote: > Most likely I added this line, > > autocmd FileType python set complete+=k~/.vim/syntax/python.vim isk+=.,( > > to my .vimrc based on the advice I got from > <http://dancingpenguinsoflight.com/2009/02/python-and-vim-make-your-own-ide/> > > Maybe the author meant it should be added to the file > ~/.vim/syntax/python.vim ...
It will still have the same effect on CTRL-] even if set in ~/.vim/syntax/python.vim. The various plugin directories determine when a plugin is loaded, not the scope of its settings. It's generally a bad idea to set options that determine behavior in a syntax file. Regards, Gary --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
