Skip to content

Commit 6621962

Browse files
committed
contain cFloat into cppNumber
close vim-jp#46, vim-jp#47
1 parent d3d3800 commit 6621962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/cpp.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ endif
4848
if !exists("cpp_no_cpp14")
4949
syn case ignore
5050
syn match cppNumber display "\<0b[01]\('\=[01]\+\)*\(u\=l\{0,2}\|ll\=u\)\>"
51-
syn match cppNumber display "\<[1-9]\('\=\d\+\)*\(u\=l\{0,2}\|ll\=u\)\>"
51+
syn match cppNumber display "\<[1-9]\('\=\d\+\)*\(u\=l\{0,2}\|ll\=u\)\>" contains=cFloat
5252
syn match cppNumber display "\<0x\x\('\=\x\+\)*\(u\=l\{0,2}\|ll\=u\)\>"
5353
syn case match
5454
endif

0 commit comments

Comments
 (0)