From b6aed019e1eb51bd6a17b25490994c86026488a3 Mon Sep 17 00:00:00 2001 From: h_east Date: Thu, 11 May 2017 00:46:39 +0900 Subject: [PATCH] fix #46 --- syntax/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/cpp.vim b/syntax/cpp.vim index 5a478fb..cc41e49 100644 --- a/syntax/cpp.vim +++ b/syntax/cpp.vim @@ -48,7 +48,7 @@ endif if !exists("cpp_no_cpp14") syn case ignore syn match cppNumber display "\<0b[01]\('\=[01]\+\)*\(u\=l\{0,2}\|ll\=u\)\>" - syn match cppNumber display "\<[1-9]\('\=\d\+\)*\(u\=l\{0,2}\|ll\=u\)\>" + syn match cppNumber display "\<[1-9]\('\=\d\+\)*\(u\=l\{0,2}\|ll\=u\)\>[^.]" syn match cppNumber display "\<0x\x\('\=\x\+\)*\(u\=l\{0,2}\|ll\=u\)\>" syn case match endif