aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2016-10-15 12:12:48 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2016-10-15 12:15:36 +0900
commitf3efb724af8c990f8dbc7e706e70aa7f4d796deb (patch)
tree8de7e8b9b40ac0793d931ea206dc8b7f96942b36 /runtime/ftplugin
parent40f853398ea0e4e94425234c3ed38f057659d3cc (diff)
downloadrneovim-f3efb724af8c990f8dbc7e706e70aa7f4d796deb.tar.gz
rneovim-f3efb724af8c990f8dbc7e706e70aa7f4d796deb.tar.bz2
rneovim-f3efb724af8c990f8dbc7e706e70aa7f4d796deb.zip
vim-patch:2685212
Update runtime files. https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/groovy.vim19
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/ftplugin/groovy.vim b/runtime/ftplugin/groovy.vim
new file mode 100644
index 0000000000..cc7d6e35eb
--- /dev/null
+++ b/runtime/ftplugin/groovy.vim
@@ -0,0 +1,19 @@
+" Vim filetype plugin file
+" Language: groovy
+" Maintainer: Justin M. Keyes <justinkz@gmail.com>
+" Last Change: 2016 May 22
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+let s:cpo_save = &cpo
+set cpo-=C
+
+let b:undo_ftplugin = 'setlocal commentstring<'
+
+setlocal commentstring=//%s
+
+let &cpo = s:cpo_save
+unlet s:cpo_save