From af668004e85e99858df4a025af82c4602e0ab399 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 2 May 2022 17:25:18 -0400 Subject: Updated Make rules so default is `bp` --- pattern.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pattern.c') 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; -- cgit v1.2.3