Wed, 25 Sep 2024 15:03:13 -0500
No LSP autostart when read-only
I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.
1006 | 1 | #!/bin/sh |
2 | set -eu | |
3 | ||
4 | age_limit=180 | |
5 | ||
6 | install_it() { | |
7 | local scratch="$(mktemp -d)" | |
8 | trap 'rm -rf -- "$scratch"' EXIT | |
9 | git clone --depth=1 "https://git.sr.ht/~sircmpwn/scdoc" "$scratch" | |
10 | make -C "$scratch" install PREFIX="$HOME/.local" | |
11 | rm -rf -- "$scratch" | |
12 | asdf reshim || : | |
13 | } | |
14 | ||
15 | . ~/.lib/sh/stubexec.sh |