diff --git a/nvim/fnl/init.fnl b/nvim/fnl/init.fnl index 6a782d0..c564b50 100644 --- a/nvim/fnl/init.fnl +++ b/nvim/fnl/init.fnl @@ -122,9 +122,10 @@ (vim.keymap.set :n :gr vim.lsp.buf.references bufopts) (vim.keymap.set :n :f vim.lsp.buf.formatting bufopts))) -(let [{: rust_analyzer} (require :lspconfig)] +(let [{: rust_analyzer : tsserver} (require :lspconfig)] ((. rust_analyzer :setup) {: on_attach - :settings {:rust-analyzer {:checkOnSave {:command :clippy}}}})) + :settings {:rust-analyzer {:checkOnSave {:command :clippy}}}}) + ((. tsserver :setup) {: on_attach})) ;;; netrw