1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:20:03 +08:00
This commit is contained in:
wsdjeg 2018-04-19 00:19:35 +08:00
parent 36ea951cfb
commit 43a529a9c4

View File

@ -104,10 +104,8 @@ function! SpaceVim#layers#lang#java#config() abort
let g:neoformat_enabled_java = ['googlefmt']
let g:neoformat_java_googlefmt = {
\ 'exe': 'java',
\ 'args': ['-jar', get(g:,'spacevim_layer_lang_java_formatter', '')],
\ 'replace': 0,
\ 'stdin': 0,
\ 'no_append': 0,
\ 'args': ['-jar', get(g:,'spacevim_layer_lang_java_formatter', ''), '-'],
\ 'stdin': 1,
\ }
try
let g:neoformat_enabled_java += neoformat#formatters#java#enabled()