Add java config for ALE and indentation
parent
1a29b1a2a0
commit
14e69a7475
|
@ -1 +1,6 @@
|
|||
require('lsp.jdtls_setup').setup()
|
||||
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.expandtab = true
|
||||
|
|
|
@ -22,6 +22,7 @@ let g:ale_fixers.dart = ['dartfmt']
|
|||
let g:ale_fixers.lua = ['luafmt']
|
||||
let g:ale_fixers.go = ['gofmt']
|
||||
let g:ale_fixers.cpp = ['clang-format']
|
||||
let g:ale_fixers.java = ['google_java_format']
|
||||
|
||||
" Warnings navigation
|
||||
nmap <silent> [W <Plug>(ale_first)
|
||||
|
|
Loading…
Reference in New Issue