Re: [Vim-latex-devel] Ordering of Dictionary
Brought to you by:
srinathava,
tmaas
From: Aditya M. <adi...@al...> - 2004-02-10 03:25:43
|
On Mon, 9 Feb 2004, Mikolaj Machowski wrote: > Dnia Monday 09 of February 2004 03:29, Aditya Mahajan napisa=B3: > > Hi, > > I face this little annoyance when using the dictionary feature of > > vim-latex. Suppose I want to complete 'doc' to documentclass. If there > > are dictionaries set in my vimrc, then latexsuite searches > > ftplugin/latex-suite/dictionaries/dictionary and the second word is > > the correct hit. But if I have a dictionary set in vimrc, then CTRL-X > > CTRL-K will search those dictionaries first and then come to the latex > > dictionary. I have found a simple method to get rid of this annoyance. > > Simply change the order in which the dictionaries are set. > > > > There are two files that set the dictionary option, main.vim and > > packages.vim. Change the line > > > > set dict+=3Dnew_dict > > to > > set dict=3Dnew_dict,&dict > > How > set dict^=3Dnew_dict > > :help :set^=3D > > Works for you? I was not aware of this option, it works perfectly. Thanks a lot Aditya |