Add nvim config for clojure lsp
parent
741b5fd918
commit
c6827e3d3d
|
@ -59,6 +59,10 @@ return require('packer').startup {
|
||||||
use 'esensar/vimwiki-reviews-lua' -- Vimwiki extension for periodic reviews
|
use 'esensar/vimwiki-reviews-lua' -- Vimwiki extension for periodic reviews
|
||||||
use 'ledger/vim-ledger' -- Support for ledger-cli format
|
use 'ledger/vim-ledger' -- Support for ledger-cli format
|
||||||
use 'tandrewnichols/vim-docile' -- Support for vim doc.txt 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 --
|
-- Treesitter --
|
||||||
use { --
|
use { --
|
||||||
|
|
|
@ -25,7 +25,7 @@ local on_attach = function(client, bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Lsp default language servers
|
-- 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
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup { on_attach = on_attach }
|
lspconfig[lsp].setup { on_attach = on_attach }
|
||||||
end
|
end
|
||||||
|
|
|
@ -10,7 +10,7 @@ let g:ale_fix_on_save = 1 " Default
|
||||||
let g:ale_linters = {}
|
let g:ale_linters = {}
|
||||||
let g:ale_linters.python = ['flake8']
|
let g:ale_linters.python = ['flake8']
|
||||||
let g:ale_linters.kotlin = ['ktlint']
|
let g:ale_linters.kotlin = ['ktlint']
|
||||||
let g:ale_linters.clojure = ['clj-kondo']
|
let g:ale_linters.clojure = []
|
||||||
|
|
||||||
" ALE Fixers configuration
|
" ALE Fixers configuration
|
||||||
let g:ale_fixers = {}
|
let g:ale_fixers = {}
|
||||||
|
|
Loading…
Reference in New Issue