summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-03 06:21:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-03 06:21:32 -0700
commit2b8dfb7262c8a7e9193e68ed0b76c54bce1f3c22 (patch)
treebd699ddad25e6f6d828b49479c1ae40a0638fdaa
parentdead4e05c9ea34c79047eba84949ec366a8ba6b2 (diff)
downloadtxr-2b8dfb7262c8a7e9193e68ed0b76c54bce1f3c22.tar.gz
txr-2b8dfb7262c8a7e9193e68ed0b76c54bce1f3c22.tar.bz2
txr-2b8dfb7262c8a7e9193e68ed0b76c54bce1f3c22.zip
tags: backslashes require escape.
* tags.tl (escape): Vim is failing to find tag entries when the search patterns are lines containing backslashes. Backslash must be added to the list of characters needing escaping in tag patterns.
-rwxr-xr-xtags.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tags.tl b/tags.tl
index 1bc1112b..8580ca7a 100755
--- a/tags.tl
+++ b/tags.tl
@@ -21,7 +21,7 @@
(defun escape (str)
(mappend (do caseql @1
- ((#\^ #\$ #\/) (list #\\ @1))
+ ((#\^ #\$ #\/ #\\) (list #\\ @1))
(t (list @1)))
str))