diff --git a/users/max/home/editor/languages.nix b/users/max/home/editor/languages.nix index 3aed5d2..bdaec3e 100644 --- a/users/max/home/editor/languages.nix +++ b/users/max/home/editor/languages.nix @@ -1,48 +1,9 @@ { pkgs, inputs }: { - language = with pkgs; [ - { - language-server = {command = "${rust-analyzer}/bin/rust-analyer";}; - name = "rust"; - } - { - language-server = {command = "clangd";}; - name = "c"; - } - { - language-server = {command = "clangd";}; - name = "cpp"; - } - { - language-server = {command = "${gopls}/bin/gopls";}; - name = "go"; - } - { - language-server = {command = "${python3Packages.python-lsp-server}/bin/pylsp";}; - name = "python"; - } - { - language-server = {command = "${inputs.nil.packages.${pkgs.system}.nil}/bin/nil";}; - name = "nix"; - } - { - language-server = { - args = [ "--lsp" ]; - command = "haskell-language-server-wrapper"; - }; - name = "haskell"; - } - { - language-server = { - args = [ "--stdio" ]; - command = "${yaml-language-server}/bin/yaml-language-server"; - }; - name = "yaml"; - } - { - language-server = { - command = "${pkgs.marksman}/bin/marksman"; - }; - name = "markdown"; - } - ]; + language-server = with pkgs; { + gopls.command = "${gopls}/bin/gopls"; + marksman.command = "${marksman}/bin/marksman"; + nil.command = "${inputs.nil.packages.${pkgs.system}.nil}/bin/nil"; + pylsp.command = "${python3Packages.python-lsp-server}/bin/pylsp"; + rust-analyzer.command = "${rust-analyzer}/bin/rust-analyzer"; + }; } \ No newline at end of file