update lspconfig

This commit is contained in:
chayleaf 2024-11-28 05:13:52 +07:00
parent d3d3580f81
commit 625e3dce4f
Signed by: chayleaf
GPG key ID: 78171AD46227E68E

View file

@ -238,7 +238,7 @@
config = (
let lsp = name: builtins.seq
# ensure an lsp exists (otherwise lspconfig will still create an empty config for some reason)
(REQ "lspconfig.server_configurations.${name}")
(REQ "lspconfig.configs.${name}")
# metatables, son! they harden in response to physical trauma
(REQ' (PROP (require "lspconfig") name));
in [
@ -347,7 +347,7 @@
} // args);
in on_attach_rust: [
# (vim.lsp.set_log_level "debug")
# see https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
# see https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md
(lib.mapAttrsToList setupLsp {
bashls = { };
clangd = { };