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
|
;; Various Options
|
||||||
(set o.spelllang [:en :de])
|
(set o.spelllang [:en :de])
|
||||||
(set o.showmode false)
|
(set o.showmode false)
|
||||||
(set o.modeline false)
|
(set o.modeline true)
|
||||||
(set o.ruler false)
|
(set o.ruler false)
|
||||||
(set o.cursorline true)
|
(set o.cursorline true)
|
||||||
(set o.list true)
|
(set o.list true)
|
||||||
|
@ -99,4 +99,3 @@
|
||||||
:group augroup})
|
:group augroup})
|
||||||
(aucmd :InsertLeave {:callback #(ls.maybe-set-relativenumber true)
|
(aucmd :InsertLeave {:callback #(ls.maybe-set-relativenumber true)
|
||||||
:group augroup})))
|
:group augroup})))
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,20 @@
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell -i bash -p fd jq
|
#!nix-shell -i bash -p git fd jq rg
|
||||||
# shellcheck disable=SC1008
|
# 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
|
||||||
echo "Uploading $dir ..."
|
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
|
if attic push nedeco:devshells "$dir"; then
|
||||||
continue
|
continue
|
||||||
else
|
else
|
||||||
echo "Ignoring error ..."
|
echo "Ignoring error ..."
|
||||||
fi
|
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
|
rm -f ./.gitlab-ci.yml
|
||||||
|
|
||||||
cd "$current" || exit
|
cd "$current" || exit
|
||||||
|
|
||||||
|
# vim: set ft=sh:
|
||||||
|
|
Loading…
Reference in a new issue