I have tried, it can use separate dictionary in difference files now. thx!
-------------------------------------------------- From: "Matt Wozniski" <[email protected]> Sent: Saturday, April 11, 2009 12:14 AM To: <[email protected]> Subject: Re: How to use seperate dictionary? > > 2009/4/10 Ricky: >> Hi, >> >> I set separate dictionary for some file types to use: >> >> au FileType *.c set dictionary+=$VIMRUNTIME/dict/c.dic >> complete+=k >> au FileType *.java set dictionary+=$VIMRUNTIME/dict/java.dic >> complete+=k >> >> But after i edited one java file then open a *.c file, the two >> dictionaries >> are can be used. >> How to use the only right dictionary for each file type: >> When editing java file, only the java's dictionary can be used? > > Well, at the very least, you want to do :setlocal instead of :set > > ~Matt > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
