nvim: modeline
This commit is contained in:
parent
169ecdb785
commit
b283245737
3 changed files with 19 additions and 11 deletions
|
@ -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})))
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/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
|
||||
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
|
||||
|
@ -10,4 +11,10 @@ jq -cr ".variables.pkgsBuildHost.value[]" "$(fd '^flake-profile-[a-z0-9]+$' ./.d
|
|||
else
|
||||
echo "Ignoring error ..."
|
||||
fi
|
||||
done
|
||||
done
|
||||
else
|
||||
echo "Doesn't look like a work repository"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# vim: set ft=sh:
|
||||
|
|
|
@ -14,3 +14,5 @@ rm -rf ./.gitlab
|
|||
rm -f ./.gitlab-ci.yml
|
||||
|
||||
cd "$current" || exit
|
||||
|
||||
# vim: set ft=sh:
|
||||
|
|
Loading…
Reference in a new issue