vim/after/ftplugin/groovy.vim

4 lines
114 B
VimL

setlocal commentstring=//%s
" "ys{motion}/" turns "text" into "/*text*/"
let b:surround_{char2nr("/")} = "/*\r*/"