Re: [Vim-latex-devel] Strange thing ...
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-03-06 14:42:11
|
Alan Schmitt wrote: > Hi, > > I am writing a paper where one of the rules if called "GetPut". > However, after a certain time, when I type it, I get a bunch or errors. > More precisely, when I type > etP > after typing the P I get (hiting <cr> several times): > > Error detected while processing function <SNR>19_LookupCharacter: > line 47: > E121: Undefined variable: s:Map_tex_etP [more errors] > > and the result is > et0 > > When I restart vim all is fine. > > Any clue where this is coming from ? (I'm wondering if it might be > related to the wrap issue, in the sense that some case sensitivity gets > unset, making vim believe I'm typing ETP, then not finding any function > to call). The errors seem to be from plugin/imaps.vim . You can verify this with :scriptnames I get 13: path/to/imaps.vim but you should get 19, not 13. The strange thing is that my version of the LookupCharacter() function (and I just updated via cvs) does not have 47 lines. (It has 32, from :function to :endfunction .) If your version of LookupCharacter() is longer, please post it. Make sure you are posting the version in your plugin/ directory. HTH --Benji Fisher |