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
commit0de61b05471eff0591ec300a09e873e1a26f9b4b (patch)
treebd699ddad25e6f6d828b49479c1ae40a0638fdaa
parentfbc0c5f3e63411714c2dd9620f7f130751d8eaef (diff)
downloadtxr-0de61b05471eff0591ec300a09e873e1a26f9b4b.tar.gz
txr-0de61b05471eff0591ec300a09e873e1a26f9b4b.tar.bz2
txr-0de61b05471eff0591ec300a09e873e1a26f9b4b.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))