aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
Diffstat (limited to 'pattern.c')
-rw-r--r--pattern.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pattern.c b/pattern.c
index d0e364f..83ff0a1 100644
--- a/pattern.c
+++ b/pattern.c
@@ -320,6 +320,9 @@ static pat_t *_bp_simplepattern(const char *str, const char *end, bool inside_st
if (*str == 'N') { // \N (nodent)
all = either_pat(all, new_pat(BP_NODENT, itemstart, ++str, 1, -1));
continue;
+ } else if (*str == 'C') { // \C (current indent)
+ all = either_pat(all, new_pat(BP_CURDENT, itemstart, ++str, 1, -1));
+ continue;
} else if (*str == 'i') { // \i (identifier char)
all = either_pat(all, new_pat(BP_ID_CONTINUE, itemstart, ++str, 1, -1));
continue;