Add nvim config for clojure lsp

pull/1/head
Ensar Sarajčić 2021-04-08 08:37:51 +02:00
parent 741b5fd918
commit c6827e3d3d
3 changed files with 6 additions and 2 deletions

View File

@ -59,6 +59,10 @@ return require('packer').startup {
use 'esensar/vimwiki-reviews-lua' -- Vimwiki extension for periodic reviews
use 'ledger/vim-ledger' -- Support for ledger-cli format
use 'tandrewnichols/vim-docile' -- Support for vim doc.txt format
use 'guns/vim-sexp' -- Precision editing for S-expressions
use( -- Simpler keymaps for vim-sexp
'tpope/vim-sexp-mappings-for-regular-people'
)
-- Treesitter --
use { --

View File

@ -25,7 +25,7 @@ local on_attach = function(client, bufnr)
end
-- Lsp default language servers
local servers = { "bashls", "clangd", "jsonls", "pyright", "rust_analyzer", "kotlin_language_server", "vimls" }
local servers = { "bashls", "clangd", "jsonls", "pyright", "rust_analyzer", "kotlin_language_server", "vimls", "clojure_lsp" }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup { on_attach = on_attach }
end

View File

@ -10,7 +10,7 @@ let g:ale_fix_on_save = 1 " Default
let g:ale_linters = {}
let g:ale_linters.python = ['flake8']
let g:ale_linters.kotlin = ['ktlint']
let g:ale_linters.clojure = ['clj-kondo']
let g:ale_linters.clojure = []
" ALE Fixers configuration
let g:ale_fixers = {}