cleanup: ignore editor swap artifacts #333

Merged
barrettruth merged 1 commit from cleanup/remove-editor-artifacts-317 into main 2026-05-11 19:50:49 +00:00
Owner

Problem

  • Editor swap/session files can appear under source paths and pollute searches or future refactors.

Solution

  • Add narrow .gitignore rules for Vim swap/session/history artifacts.
  • Verify the reported src/contexts/.navigation.tsx.swp path is ignored without adding broad editor-directory ignores.

Verification

  • git ls-files | rg -i "(^|/)(Session.vim|.Session.vim|.viminfo|.netrwhist)$|.swp$|.swo$|.swn$|.code-workspace$|(^|/).vscode/|(^|/).idea/|~$|(^|/)#.*#$|(^|/).#"
  • rg --files -uu -g "*swp" -g "*swo" -g "*swn"
  • git check-ignore -v --no-index src/contexts/.navigation.tsx.swp
  • nix develop --command just lint

Closes #317

Problem - Editor swap/session files can appear under source paths and pollute searches or future refactors. Solution - Add narrow .gitignore rules for Vim swap/session/history artifacts. - Verify the reported src/contexts/.navigation.tsx.swp path is ignored without adding broad editor-directory ignores. Verification - git ls-files | rg -i "(^|/)(Session\.vim|\.Session\.vim|\.viminfo|\.netrwhist)$|\.swp$|\.swo$|\.swn$|\.code-workspace$|(^|/)\.vscode/|(^|/)\.idea/|~$|(^|/)#.*#$|(^|/)\.#" - rg --files -uu -g "*swp" -g "*swo" -g "*swn" - git check-ignore -v --no-index src/contexts/.navigation.tsx.swp - nix develop --command just lint Closes #317
cleanup: ignore editor swap artifacts
All checks were successful
quality / Test (pull_request) Successful in 16s
quality / Lint (pull_request) Successful in 21s
quality / Build (pull_request) Successful in 45s
e4ee99aa9e
barrettruth deleted branch cleanup/remove-editor-artifacts-317 2026-05-11 19:50:50 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta!333
No description provided.