2022-02-08 19:53:55 +01:00
|
|
|
lsps := "
|
2022-11-02 20:10:32 +01:00
|
|
|
elixir-ls-git
|
2022-07-06 22:41:47 +02:00
|
|
|
eslint
|
2022-11-07 16:30:52 +01:00
|
|
|
jdtls
|
2022-02-08 19:53:55 +01:00
|
|
|
lua-language-server
|
|
|
|
rust-analyzer
|
2022-05-06 14:04:55 +02:00
|
|
|
shellcheck
|
|
|
|
shfmt
|
2022-04-10 15:19:39 +02:00
|
|
|
taplo-cli
|
2022-07-09 23:19:09 +02:00
|
|
|
tidy
|
2022-02-08 19:53:55 +01:00
|
|
|
vscode-langservers-extracted
|
|
|
|
yaml-language-server
|
2023-01-02 13:09:06 +01:00
|
|
|
zls-git
|
2022-02-08 19:53:55 +01:00
|
|
|
"
|
|
|
|
|
2022-10-03 11:41:49 +02:00
|
|
|
install-scripts target=(`echo $HOME` + "/.local"):
|
2022-02-08 18:49:25 +01:00
|
|
|
ln -sf \
|
2023-02-16 20:58:07 +01:00
|
|
|
`pwd`/scripts/{map-touch-display,start-joshuto,withjava,startriver,update-nvim-plugins} \
|
2022-10-03 11:41:49 +02:00
|
|
|
{{target}}/bin
|
2022-04-21 00:09:48 +02:00
|
|
|
|
2023-02-11 13:24:42 +01:00
|
|
|
cd scripts/randomwallpaper && zig build -Doptimize=ReleaseFast -p {{target}}
|
|
|
|
cd scripts/vinput && zig build -Doptimize=ReleaseFast -p {{target}}
|
|
|
|
cd scripts/playtwitch && zig build -Doptimize=ReleaseFast -p {{target}}
|
|
|
|
cd scripts/openbrowser && zig build -Doptimize=ReleaseFast -p {{target}}
|
2023-04-02 15:08:25 +02:00
|
|
|
cd scripts/prompt && zig build -Doptimize=ReleaseFast -p {{target}}
|
|
|
|
cd scripts/mzteinit && zig build -Doptimize=ReleaseFast -p {{target}}
|
2022-04-21 00:09:48 +02:00
|
|
|
|
2022-02-08 19:53:55 +01:00
|
|
|
install-lsps-paru:
|
|
|
|
#!/bin/sh
|
|
|
|
paru -S --needed --noconfirm {{replace(lsps, "\n", " ")}}
|
|
|
|
|
2022-03-20 23:15:25 +01:00
|
|
|
cargo install prosemd-lsp
|
|
|
|
|
2022-02-08 19:53:55 +01:00
|
|
|
if which opam &> /dev/null; then
|
|
|
|
opam install --yes \
|
|
|
|
ocaml-lsp-server \
|
|
|
|
ocamlformat
|
|
|
|
fi
|
2022-02-08 19:57:27 +01:00
|
|
|
|
2022-10-18 23:03:39 +02:00
|
|
|
|
|
|
|
install-mzte-nv:
|
2023-02-11 13:24:42 +01:00
|
|
|
cd mzte-nv && zig build -Doptimize=ReleaseFast -p ~/.local
|
2022-11-19 01:53:49 +01:00
|
|
|
|
|
|
|
setup-nvim-config: install-mzte-nv
|
|
|
|
rm -rf ~/.config/nvim
|
|
|
|
cp -r mzte-nv/conf ~/.config/nvim
|
|
|
|
mzte-nv-compile ~/.config/nvim
|
2023-01-20 22:30:45 +01:00
|
|
|
|
|
|
|
confgen:
|
|
|
|
rm -rf cgout
|
|
|
|
confgen cgout
|