From 0b68a42070d4d3f83836c91e6a5890d4b94e5846 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 3 Dec 2023 16:10:42 -0500 Subject: [PATCH] neovim: Enable nvim-cmp support for all language servers --- home/neovim.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/home/neovim.nix b/home/neovim.nix index eb76699d..f25c55ca 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -282,7 +282,22 @@ in local lspconfig = require('lspconfig') -- Enable some language servers with the additional completion capabilities offered by nvim-cmp - local servers = { 'clangd', 'rust_analyzer', 'pyright', 'tsserver' } + local servers = { + 'nil_ls', + 'rust_analyzer', + 'marksman', + 'gopls', + 'lua_ls', + 'clangd', + 'texlab', + 'crystalline', + 'emmet_language_server', + 'denols', + 'tsserver', + 'astro', + 'typst_lsp' + } + for _, lsp in ipairs(servers) do lspconfig[lsp].setup { -- on_attach = my_custom_on_attach,