1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 00:20:05 +08:00

doc(layer): update :h SpaceVim-layers-lang-java

This commit is contained in:
Shidong Wang 2021-10-01 15:48:50 +08:00
parent e098ae3445
commit a08746ffce
No known key found for this signature in database
GPG Key ID: 41BB7053E835C848
2 changed files with 12 additions and 2 deletions

View File

@ -105,7 +105,12 @@
" or download google's formater jar from:
" https://github.com/google/google-java-format
"
" and set 'g:spacevim_layer_lang_java_formatter' to the path of the jar.
" and set the layer option `java_formatter_jar` to the path of the jar.
" >
" [[layers]]
" name = 'lang#java'
" java_formatter_jar = 'path/to/google-java-format.jar'
" <

View File

@ -2779,7 +2779,12 @@ To make neoformat support java file, you should install uncrustify. or
download google's formater jar from:
https://github.com/google/google-java-format
and set 'g:spacevim_layer_lang_java_formatter' to the path of the jar.
and set the layer option `java_formatter_jar` to the path of the jar.
>
[[layers]]
name = 'lang#java'
java_formatter_jar = 'path/to/google-java-format.jar'
<
==============================================================================
LANG#JAVASCRIPT *SpaceVim-layers-lang-javascript*