From 66d9c48703c78de4b4d7141aac0047b17e05eb08 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 21 Jun 2024 21:09:31 -0700 Subject: [PATCH 1/2] nvim: set exrc and secure --- .config/nvim/lua/blake/settings.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index 69e14c6..113c177 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -40,6 +40,8 @@ set.ruler = false set.listchars = 'trail:~,tab:│ ,nbsp:␣,lead:·,extends:…,precedes:…' set.list = false set.mousemodel = 'extend' +set.exrc = true +set.secure = true -- Disable smartindent when editing `nix` files autocmd("BufEnter", { pattern = "*.nix", callback = function() vim.opt_local.smartindent = false end }) From 3fbcebeb34e804622f4636ec9f13c65d3483263d Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Fri, 21 Jun 2024 21:10:36 -0700 Subject: [PATCH 2/2] upd: add nixvim config repo --- .config/shell/bin/upd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/shell/bin/upd b/.config/shell/bin/upd index 205eeaa..c53b91c 100755 --- a/.config/shell/bin/upd +++ b/.config/shell/bin/upd @@ -27,7 +27,7 @@ g() { git -C "$REPO" "$@"; } REPO_ABBR='echo ${REPO/"$HOME"/"~"}' # `git pull` everything mentioned in the REPOS_TO_UPDATE variable -IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "${REPOS_TO_UPDATE:-}:${DOCS_DIR:-}:$HOME/bin:${NIXOS_DIR:-}:$HOME/code/faust-ideas" +IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "${REPOS_TO_UPDATE:-}:${DOCS_DIR:-}:$HOME/bin:${NIXOS_DIR:-}:$HOME/code/faust-ideas:$HOME/code/nixvim-config" for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do if [ -n "$REPO" ]; then if g rev-parse > /dev/null 2>&1; then