Uri Moszkowicz wrote:
There was only one buffer open at the time. To confirm, I opened another groovy file and tried the specified command and got the response "E474: Invalid argument". The command is accepted with the argument but it does no good.

:verbose abbr
i  wl           @while(){<CR>}<Esc>kf(a<C-R>=<SNR>24_RemoveSpace()<CR>
        Last set from <root>/vim-7.2/share/vim/vim72/syntax/groovy.vim
[snip]

I have a question for you: I don't see any abbreviations in the .../syntax/groovy.vim file. So, Q: why are there abbreviations there in your version?

FYI: its a Bad Idea to modify vim's system files. Instead, one should pick one of the following:

* ~/.vim/after/... : put a file in here (such as syntax/groovy.vim) to modify plugin or syntax behavior as needed. * copy the system file to ~/.vim/syntax (or ~/.vim/plugin, etc) and modify your copy. Normally your copy will prevent the system version from being loaded. The benefit: when you upgrade, you don't lose your modifications.

(change  .vim to vimfiles for windows)

Regards,
Chip Campbell

--
You received this message from the "vim_use" 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

Reply via email to