Add java config for ALE and indentation

pull/2/head
Ensar Sarajčić 2021-10-03 21:31:05 +02:00
parent 1a29b1a2a0
commit 14e69a7475
2 changed files with 6 additions and 0 deletions

View File

@ -1 +1,6 @@
require('lsp.jdtls_setup').setup()
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.expandtab = true

View File

@ -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)