Hello,

I found a strange behavior in vim 7.3.146 when adding insert-mode
abbreviations with the tex syntax loaded.  Given a test.tex file that
contains just one line

\begin{article}

The following command gives error "E474: Invalid argument":

    vim -N -i NONE -u NONE -c "syntax on" -c "iabbrev 0foo bar"
test.tex

The result is the same if the "syntax on" and "iabbrev 0foo bar"
commands
are typed within the vim session.  Somehow vim does not like any
abbreviations
that start with a digit.  Strangely, if I delete the leading backslash
and change
the text to "begin{article}", everything works fine and the "0foo"
abbreviation
gets correctly defined.  There is no such issue in the unpatched vim
7.3.

Can somebody take a look at this?  Thank you,

Pavol

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