diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-04-03 06:21:32 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-04-03 06:21:32 -0700 |
commit | 2b8dfb7262c8a7e9193e68ed0b76c54bce1f3c22 (patch) | |
tree | bd699ddad25e6f6d828b49479c1ae40a0638fdaa | |
parent | dead4e05c9ea34c79047eba84949ec366a8ba6b2 (diff) | |
download | txr-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-x | tags.tl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ (defun escape (str) (mappend (do caseql @1 - ((#\^ #\$ #\/) (list #\\ @1)) + ((#\^ #\$ #\/ #\\) (list #\\ @1)) (t (list @1))) str)) |