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 = ( config = (
let lsp = name: builtins.seq let lsp = name: builtins.seq
# ensure an lsp exists (otherwise lspconfig will still create an empty config for some reason) # 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 # metatables, son! they harden in response to physical trauma
(REQ' (PROP (require "lspconfig") name)); (REQ' (PROP (require "lspconfig") name));
in [ in [
@ -347,7 +347,7 @@
} // args); } // args);
in on_attach_rust: [ in on_attach_rust: [
# (vim.lsp.set_log_level "debug") # (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 { (lib.mapAttrsToList setupLsp {
bashls = { }; bashls = { };
clangd = { }; clangd = { };