From 8368751d4d4e38aa1e9c82d86a0e08d1e6be2d44 Mon Sep 17 00:00:00 2001 From: Wolf Noble Date: Mon, 29 Feb 2016 03:22:40 -0600 Subject: [PATCH] Update .ctags to recognize spaced todos Some style guides and parsers prefer comments have a space after the comment delimiter hash. Nav-panel should see both styles. I think this regex is right, but it's an untested drive-by. --- lib/.ctags | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/.ctags b/lib/.ctags index d9d1c47..255b6bc 100644 --- a/lib/.ctags +++ b/lib/.ctags @@ -1,8 +1,8 @@ # Most of this file is based on a .ctags file from the Atom project (used in one of the packages.) # Some of the regular expression is pretty bad # All applies to all files ---regex-All=/#nav-mark:(.*)/\1/m,Markers/i ---regex-All=/#todo:(.*)/\1/t,Todo/i +--regex-All=/#[ \t]?nav-mark:(.*)/\1/m,Markers/i +--regex-All=/#[ \t]?todo:(.*)/\1/t,Todo/i --langdef=CoffeeScript --langmap=CoffeeScript:.coffee