diff --git a/home/modules/nvim/config/after/plugin/lspconfig.lua b/home/modules/nvim/config/after/plugin/lspconfig.lua index 60ac1ae..01d7720 100644 --- a/home/modules/nvim/config/after/plugin/lspconfig.lua +++ b/home/modules/nvim/config/after/plugin/lspconfig.lua @@ -66,22 +66,21 @@ local servers = { settings = { nixd = { nixpkgs = { - expr = "import { }", 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", + }, + }, }, }, },