From 148f52df5c146a5263cbdbc30d805baa64f7e607 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 10 Nov 2023 01:20:05 +0100 Subject: [PATCH] home/editor: add unison lsp --- users/max/home/editor/languages.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/users/max/home/editor/languages.nix b/users/max/home/editor/languages.nix index bdaec3e..045dcc4 100644 --- a/users/max/home/editor/languages.nix +++ b/users/max/home/editor/languages.nix @@ -5,5 +5,15 @@ 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"; + ucm-tcp = { + command = "${socat}/bin/socat"; + args = [ "stdio" "tcp4-connect:127.0.0.1:5757" ]; + }; }; -} \ No newline at end of file + language = [ + { + name = "unison"; + language-servers = [ "ucm-tcp" ]; + } + ]; +}