Comments (2)
I ran into the same problem and can reproduce the issue with a minimal config. To reproduce, do the following steps.
- Copy this file to
hexstring.cc
. - Start
emacs
28.1 in a completely empty home directory with no dot files. - Use
M-:
to run(require 'package)
- Use
M-:
to run(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
- Run
M-x package-install RET modern-cpp-font-lock RET
- Run
M-x modern-c++-font-lock-global-mode
- Visit
hexstring.cc
The result will look like this:
from modern-cpp-font-lock.
Hello,
I am not able to reproduce your issue:
I suggest you to reproduce your issue with a minimal configuration. If the issue is still there, can you report it to cc-mode which is the official Emacs C++ support. If the bug is fixed upstream, all Emacs users will get a fix. This package was a temporary fix at the time of C++11 was released.
from modern-cpp-font-lock.
Related Issues (20)
- Integration with RTags HOT 3
- Modern C++ indentation? HOT 3
- Raw strings do not work HOT 3
- String literals isn't showing correctly when there are quotes HOT 3
- Raw string literal isn't handled correctly. HOT 2
- Integer literal font lock HOT 3
- second function argument type is rendered as a variable HOT 4
- clash between modern-c++-font-lock-mode and built-in c++-mode HOT 3
- string literal isn't rendered at all. HOT 2
- Inclusion in Emacs core HOT 4
- if constexpr indent HOT 2
- expected to work with GNU Emacs 25.2.2? HOT 2
- trouble with string literals HOT 2
- Trouble with attributes HOT 1
- Font lock for function calls HOT 2
- Hexadecimal digits prefix highlights as keyword HOT 3
- Variable "Is_PragmaLexer" isn't correctly highlighted
- Does this package support C++20 features? HOT 2
- `concept` keyword HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modern-cpp-font-lock.