Hi Gary!

On Di, 07 Jun 2011, Gary Johnson wrote:

> On 2011-06-07, Uri Moszkowicz wrote:
> 
> > On Tue, Jun 7, 2011 at 3:35 PM, Charles Campbell 
> > <[email protected]>
> > wrote:
> 
> >>     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?
> 
> > 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>
> > ...
> 
> I checked the Vim 7.2.148 installation on a Fedora 11 system and
> there is no groovy.vim that contains abbreviations.  That file is
> not part of the Vim distribution.
> 
> However, I did a quick search of vim.sf.net and found a groovy.vim
> script (id=2217) with a description that matches yours:
> 
>     Runs or compiles Groovy scripts.  Indents code blocks.
>     Continues comments on adjacent lines.  Provides insert-mode
>     abbreviations.  F2 for plugin help.
> 
> So the problematic groovy.vim file is apparently something you
> added.

Looks like it. Uri could ask the plugin maintainer to add a 
configuration option to disable the abbreviations.

regards,
Christian
-- 

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