mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +08:00
Fix #1633
This commit is contained in:
parent
36ea951cfb
commit
43a529a9c4
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user