From b8bd9729d725905c3f6b87878c2584e7c81c9823 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Mon, 5 Sep 2016 22:29:55 +0100 Subject: [PATCH] Escape - cOperator match --- after/syntax/c.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/after/syntax/c.vim b/after/syntax/c.vim index 44468b2..7b6afb8 100644 --- a/after/syntax/c.vim +++ b/after/syntax/c.vim @@ -7,7 +7,7 @@ " ^ ^ ^ ^ ^ ^ syn match cDelimiter '[()\[\]{}:;]' " Match single character operators, ordering within the [] is important -syn match cOperator '[\*=\.\^\~+-,&|!%?]' +syn match cOperator '[\*=\.\^\~+\-,&|!%?]' " Match single character operators if they are surrounded by white space: / < > " ^ ^ ^ syn match cOperator '\(\s\zs\/\s\ze\|\s\zs<\s\ze\|\s\zs>\s\ze\)'