__asm{} block in C is not highlighted properly
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 885
- PR merge metrics
- No merged PRs in 30d
Description
I am using minted( a code highlighting package in LaTeX) and I noticed that the assembly inside the __asm{} block is not highlighted at all. Is there a way to run the NASM highlighter within the __asm{} block? A quick hack would be appreciated for now.
NOTE: The __asm{} block is unique to the MSVC compiler.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is identified in the issue. Start by locating Pygments' C lexer and comparing its handling of __asm{} with the NASM lexer used by minted; done means assembly inside the MSVC-specific block receives NASM-style highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, latex, python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100