16 lines
410 B
VimL
16 lines
410 B
VimL
" Java specific config
|
|
|
|
" Indentation
|
|
setlocal autoindent
|
|
setlocal si
|
|
setlocal shiftwidth=4
|
|
setlocal noexpandtab
|
|
" Anonymous classes
|
|
setlocal cindent cinoptions& cinoptions+=j1
|
|
" Repair extends and implements Indentation
|
|
setlocal indentkeys& indentkeys+=0=extends indentkeys+=0=implements
|
|
|
|
"Syntax highlighting
|
|
let java_highlight_java_lang_ids=1
|
|
let java_highlight_functions="style"
|
|
let java_highlight_debug=1
|