summaryrefslogtreecommitdiffstats
path: root/after/syntax/cpp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/cpp.vim')
-rw-r--r--after/syntax/cpp.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/after/syntax/cpp.vim b/after/syntax/cpp.vim
index f286af08..4c9032b2 100644
--- a/after/syntax/cpp.vim
+++ b/after/syntax/cpp.vim
@@ -1312,6 +1312,8 @@ if !exists("cpp_no_cpp11")
"raw string literals
syntax region cppRawString matchgroup=cppRawDelimiter start=@\%(u8\|[uLU]\)\=R"\z([[:alnum:]_{}[\]#<>%:;.?*\+\-/\^&|~!=,"']\{,16}\)(@ end=/)\z1"/ contains=@Spell
+
+ syn match cNumber "0b[01]\+"
endif " C++11
if !exists("cpp_no_cpp14")