From 32bb63d22e243d4e1e0998f97b5528ea86e1ae78 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 18 Dec 2024 22:45:28 +0100 Subject: setup: script to build & setup zls --- setup-zls.fish | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 setup-zls.fish (limited to 'setup-zls.fish') diff --git a/setup-zls.fish b/setup-zls.fish new file mode 100644 index 0000000..c9e3713 --- /dev/null +++ b/setup-zls.fish @@ -0,0 +1,14 @@ +type zig +or exit 1 + +if ! test -d zls; + git clone https://github.com/zigtools/zls +end +git pull + +pushd zls +zig build -Doptimize=ReleaseSafe + +echo "SETUP zls" +fish_add_path --path (pwd)/zig-out/bin +popd \ No newline at end of file -- cgit v1.2.3