From 4a03447355aff96eb7bb7f598cb9283734dd6145 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Mon, 18 May 2020 02:16:02 +0200 Subject: [PATCH] astyle for java --- .config/nvim/init.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 8e74f52..fa89732 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -155,7 +155,7 @@ autocmd FileType java,python,c,tex,latex noremap gggqG au FileType python setlocal formatprg=autopep8\ - -au FileType java setlocal formatprg=google-java-format\ - +au FileType java setlocal formatprg=astyle\ --indent=spaces=2\ --style=google autocmd FileType java setlocal shiftwidth=2 softtabstop=2 au FileType c setlocal formatprg=astyle\ --mode=c