mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 00:17:46 +02:00
astyle for java
This commit is contained in:
parent
db61a97b73
commit
9cba1be097
@ -155,7 +155,7 @@ autocmd FileType java,python,c,tex,latex noremap <F8> gggqG
|
|||||||
|
|
||||||
au FileType python setlocal formatprg=autopep8\ -
|
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
|
autocmd FileType java setlocal shiftwidth=2 softtabstop=2
|
||||||
|
|
||||||
au FileType c setlocal formatprg=astyle\ --mode=c
|
au FileType c setlocal formatprg=astyle\ --mode=c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user