Open cmcginty opened 8 years ago
I can't reproduce it, so that's probably due to some ftplugin you have installed. You can use :scriptnames
to see what's been loaded and try moving potential ftplugins, etc out of the way to see if the issue goes away.
Do you have a groovy.vim
file in your global ftplugin/
or indent/
directories? On my system (Mint 17.3) I only only a syntax/groovy.vim
file.
Since my OS doesn't include both a ftplugin/groovy.vim
or indent/groovy.vim
I resolved this with:
Create a new .vim/ftplugin/groovy.vim
with the following line:
runtime! ftplugin/java.vim
When I type
test {<CR>
in a Groovy file, I getbut I was expecting