Browse Source

astyle for java

master
TiynGER 7 months ago
parent
commit
9cba1be097
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .config/nvim/init.vim

+ 1
- 1
.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

Loading…
Cancel
Save