fix(nvim): resolve lspconfig nesting errors

This commit is contained in:
hektor committed 2026-11-06 10:26:33 +01:00
1 parent 13b45c45a1
commit 8871280ee5
1 file changed
+19 -16
@@ -66,22 +66,21 @@ local servers = {
settings = {
nixd = {
nixpkgs = {
expr = "import <nixpkgs> { }",
expr = 'import (builtins.getFlake ("git+file://" + toString ../../../../../.)).inputs.nixpkgs { }',
},
},
options = {
nixos = {
expr = '(builtins.getFlake ("git+file://" + toString ../../../../../.)).nixosConfigurations."'
.. vim.fn.hostname()
.. '".options',
},
home_manager = {
expr = '(builtins.getFlake ("git+file://" + toString ../../../../../.)).homeConfigurations."'
.. vim.fn.expand("$USER")
.. "@"
.. vim.fn.hostname()
.. '".options',
options = {
nixos = {
expr = '(builtins.getFlake ("git+file://" + toString ../../../../../.)).nixosConfigurations."'
.. vim.fn.hostname()
.. '".options',
},
home_manager = {
expr = '(builtins.getFlake ("git+file://" + toString ../../../../../.)).homeConfigurations."'
.. vim.fn.expand("$USER")
.. "@"
.. vim.fn.hostname()
.. '".options',
},
},
},
},
@@ -92,9 +91,13 @@ local servers = {
shell = { bashls = {} },
svelte = {
svelte = {
plugin = {
settings = {
svelte = {
defaultScriptLanguage = "ts",
plugin = {
svelte = {
defaultScriptLanguage = "ts",
},
},
},
},
},