1
0
Fork 0

nvim: modeline

This commit is contained in:
Daniel Kempkens 2023-07-29 01:37:08 +02:00
parent 169ecdb785
commit b283245737
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 19 additions and 11 deletions

View file

@ -6,7 +6,7 @@
;; Various Options
(set o.spelllang [:en :de])
(set o.showmode false)
(set o.modeline false)
(set o.modeline true)
(set o.ruler false)
(set o.cursorline true)
(set o.list true)
@ -99,4 +99,3 @@
:group augroup})
(aucmd :InsertLeave {:callback #(ls.maybe-set-relativenumber true)
:group augroup})))

View file

@ -1,13 +1,20 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p fd jq
#!nix-shell -i bash -p git fd jq rg
# shellcheck disable=SC1008
jq -cr ".variables.pkgsBuildHost.value[]" "$(fd '^flake-profile-[a-z0-9]+$' ./.direnv/)" | while read -r dir; do
echo "Uploading $dir ..."
if git remote -v | rg -q nedeco; then
jq -cr ".variables.pkgsBuildHost.value[]" "$(fd '^flake-profile-[a-z0-9]+$' ./.direnv/)" | while read -r dir; do
echo "Uploading $dir ..."
if attic push nedeco:devshells "$dir"; then
continue
else
echo "Ignoring error ..."
fi
done
if attic push nedeco:devshells "$dir"; then
continue
else
echo "Ignoring error ..."
fi
done
else
echo "Doesn't look like a work repository"
exit 1
fi
# vim: set ft=sh:

View file

@ -14,3 +14,5 @@ rm -rf ./.gitlab
rm -f ./.gitlab-ci.yml
cd "$current" || exit
# vim: set ft=sh: