From 93d7b2ee8e466e2c4e8d34c89346c49bd053e73e Mon Sep 17 00:00:00 2001 From: William Melody Date: Mon, 4 Nov 2024 20:43:22 -0800 Subject: [PATCH] Ignore `*_ltex.json` temp files from LTeX-Utils.nvim. refs gh-171 --- nb | 1 + test/list.bats | 1 + 2 files changed, 2 insertions(+) diff --git a/nb b/nb index 44e55fe1..1a6a1091 100755 --- a/nb +++ b/nb @@ -1460,6 +1460,7 @@ _IGNORE_PATTERNS=( -e '/^#.*#$/d' -e '/\.swa?p$/d' -e '/^\.#*/d' + -e '/.*_ltex\.json$/d' # ltex-utils.nvim ) # $_MD diff --git a/test/list.bats b/test/list.bats index 2902e99d..27f48092 100644 --- a/test/list.bats +++ b/test/list.bats @@ -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." }