mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:10:05 +08:00
20 lines
680 B
VimL
20 lines
680 B
VimL
let g:java_getset_disable_map = 1
|
|
let 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 =
|
|
\ "/**\n" .
|
|
\ " * Get %varname%.\n" .
|
|
\ " *\n" .
|
|
\ " * @return %varname% as %type%.\n" .
|
|
\ " */\n" .
|
|
\ "%modifiers% %type% %funcname%(){\n" .
|
|
\ " return %varname%;\n" .
|
|
\ "}"
|