Hello,

Trying to make a nice feature for editing LaTeX document for
AutomaticTexPlugin:
    http://www.vim.org/scripts/script.php?script_id=2945
I run into the following problem:

I would like to call synstack() function using autocommand with group
CursorMovedI, thus in the insert mode. But then synstack() returns 0 instead
of [] when there is no syntax group at the cursor position.

The same thing happens when I try to use synstack function in a completion
function which is mapped using <Ctrl-R>= ... or if I use vim option
'completefunc'.

Best regards,
Marcin Szamotulski

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui