I don't know. I built my vim from 7.2 source. It's definitely there though:
" Features: Runs or compiles Groovy scripts. Indents
code blocks.
" Continues comments on
adjacent lines. Provides
" insert-mode abbreviations.
F2 for plugin help.
...
" Abbreviations
ia <buffer> cl class {<CR>}<Esc>kf{i<C-R>=<SID>RemoveSpace()<CR>
ia <buffer> dcp this.class.classLoader.rootLoader.addURL(new
URL('file:///'))<Esc>F'i<C-R>=<SID>RemoveSpace()<CR>
ia <buffer> fl for( in ){<CR>}<Esc>kf(a<C-R>=<SID>RemoveSpace()<CR>
...
It's a bit besides the point though as I encounter abbreviations in other
files as well.
On Tue, Jun 7, 2011 at 3:35 PM, Charles Campbell <
[email protected]> wrote:
> 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
>
--
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