needed kondo, removed ale and replaced with nvim-lint

This commit is contained in:
Anish L 2022-02-26 17:24:02 +10:00
parent 3821a75bd5
commit 8dffde79ac

View file

@ -45,7 +45,9 @@ in
clojure-lsp
rnix-lsp
terraform-lsp
# Other LSPs
vale
clj-kondo
# Other LSPs or linters
( neovim.override {
vimAlias = true;
withPython3 = true;
@ -81,7 +83,7 @@ in
vim-zettel
# lsp stuff
ale
nvim-lint
nvim-lspconfig
nvim-cmp
cmp-nvim-lsp
@ -251,9 +253,6 @@ in
" fzf
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
" ALE
let g:ale_linters = {'clojure': ['clj-kondo'], 'python': ['black', 'pylint']}
" lsp commands
nnoremap <leader>vd :lua vim.lsp.buf.definition()<CR>
nnoremap <leader>vi :lua vim.lsp.buf.implementation()<CR>
@ -386,6 +385,13 @@ require('lualine').setup {
}
}
-- nvim-lint
require('lint').linters_by_ft = {
markdown = {'vale'},
clojure = {'clj-kondo'},
python = {'black'}
}
EOF
'';
};