Hi all,

[On Windows Vim 7.0, binary at ftp://ftp.vim.org/pub/vim/pc/gvim70.exe]
I'm having trouble getting the example in

  :help complete()

to work. When I hit <F5> in Insert mode, I get this:

  Error detected while processing function ListMonths:
  line    1:
  E523: Not allowed here

I have :set nosecure.
Having this instead fixes the problem:

  inoremap <F5> <C-r>=ListMonths()<CR>

Looks like a bug. I wasn't sure if this has been fixed.
--
Gerald

Reply via email to