Add clj-kondo to ale_linters

pull/1/head
Ensar Sarajčić 2021-03-26 21:51:15 +01:00
parent d6ca2d5b67
commit ed75b25def
3 changed files with 10 additions and 5 deletions

View File

@ -34,3 +34,5 @@ mailboxes = +Inbox
set imap_check_subscribed
source /usr/share/doc/neomutt/vim-keys/vim-keys.rc
macro index,pager A "<save-message>=Archive<enter>" "Archive Message"

View File

@ -0,0 +1,2 @@
setlocal ts=2 sts=2 sw=2 expandtab autoindent
let b:undo_ftplugin .= '|setlocal ts< sts< sw< expandtab< autoindent<'

View File

@ -7,16 +7,17 @@ let g:ale_disable_lsp = 1 " Disable LSP, we have other stuff for that
let g:ale_fix_on_save = 1 " Default
" ALE Linters configuration
let g:ale_linters = {}
let g:ale_linters.python = ['flake8']
let g:ale_linters.kotlin = ['ktlint']
let g:ale_linters = {}
let g:ale_linters.python = ['flake8']
let g:ale_linters.kotlin = ['ktlint']
let g:ale_linters.clojure = ['clj-kondo']
" ALE Fixers configuration
let g:ale_fixers = {}
let g:ale_fixers['*'] = ['remove_trailing_lines', 'trim_whitespace']
let g:ale_fixers.python = ['autopep8', 'isort']
let g:ale_fixers.dart = ['dartfmt']
let g:ale_fixers.lua = ['luafmt']
let g:ale_fixers.dart = ['dartfmt']
let g:ale_fixers.lua = ['luafmt']
" Warnings navigation
nmap <silent> [W <Plug>(ale_first)