1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:20:06 +08:00
SpaceVim/config/plugins/java_getset.vim
2019-01-28 22:12:37 +08:00

22 lines
716 B
VimL

let g:java_getset_disable_map = get(g:, 'java_getset_disable_map', 1)
let g:javagetset_setterTemplate = get(g:, 'javagetset_setterTemplate',
\ "/**\n" .
\ " * Set %varname%.\n" .
\ " *\n" .
\ " * @param %varname% the value to set.\n" .
\ " */\n" .
\ "%modifiers% void %funcname%(%type% %varname%){\n" .
\ " this.%varname% = %varname%;\n" .
\ '}')
let g:javagetset_getterTemplate = get(g:, 'javagetset_getterTemplate',
\ "/**\n" .
\ " * Get %varname%.\n" .
\ " *\n" .
\ " * @return %varname% as %type%.\n" .
\ " */\n" .
\ "%modifiers% %type% %funcname%(){\n" .
\ " return %varname%;\n" .
\ '}')
" vim:set et sw=2: