Skip to content

Commit

Permalink
Ignore *_ltex.json temp files from LTeX-Utils.nvim.
Browse files Browse the repository at this point in the history
refs gh-171
  • Loading branch information
xwmx committed Nov 5, 2024
1 parent b055b9e commit 93d7b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nb
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,7 @@ _IGNORE_PATTERNS=(
-e '/^#.*#$/d'
-e '/\.swa?p$/d'
-e '/^\.#*/d'
-e '/.*_ltex\.json$/d' # ltex-utils.nvim
)

# $_MD
Expand Down
1 change: 1 addition & 0 deletions test/list.bats
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ load test_helper
"${_NB}" run touch "Example Temp Three.md.swp"
"${_NB}" run touch "Example Temp Four.md.swap"
"${_NB}" run touch ".#Example Temp Five.md"
"${_NB}" run touch "Example Temp Six_ltex.json"

"${_NB}" add "File Three.md" --content "Example content three."
}
Expand Down

0 comments on commit 93d7b2e

Please sign in to comment.