Hi mattn, 2017-6-13(Tue) 11:27:26 UTC+9 mattn: > In cpp, cFloat is wrong highlighted. > > https://cloud.githubusercontent.com/assets/5300799/25893627/cf4f0266-3578-11e7-8f87-f587a7a1d3bf.png > > Below's change fixes this. > > diff --git a/syntax/cpp.vim b/syntax/cpp.vim > index 5a478fb..495a335 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\)\>" contains=cFloat > syn match cppNumber display > "\<0x\x\('\=\x\+\)*\(u\=l\{0,2}\|ll\=u\)\>" > syn case match > endif
This has already been fixed with the runtime file update of 8 days ago. https://github.com/vim/vim/commit/6aa8cea46d4179b2617daae034063dd0d8054e35#diff-c76b7dafa87216bb9281fb15dcc2321e -- Best regards, Hirohito Higashi (h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
