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
-~----------~----~----~----~------~----~------~--~---

Reply via email to