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 ;; 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})))

View file

@ -1,7 +1,8 @@
#!/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
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 jq -cr ".variables.pkgsBuildHost.value[]" "$(fd '^flake-profile-[a-z0-9]+$' ./.direnv/)" | while read -r dir; do
echo "Uploading $dir ..." echo "Uploading $dir ..."
@ -11,3 +12,9 @@ jq -cr ".variables.pkgsBuildHost.value[]" "$(fd '^flake-profile-[a-z0-9]+$' ./.d
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:

View file

@ -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: