Ignore keywords in regular pragmas
See original GitHub issueRepro:
- Consider following source fragment:
{-# OPTIONS_GHC -fno-warn-type-defaults #-}
Expected: type
is not highlighted as keyword
Instead:
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Pragma directives and the __pragma and _Pragma keywords
A pragma string that isn't recognized is ignored. The following code example demonstrates how the _Pragma keyword could be used in an assert- ......
Read more >Pragmas
The variable keyword identifies the specific directive; a indicates an argument. The pragma keywords that are recognized by the Sun WorkShop C++ compiler...
Read more >Pragmas - ABAP Keyword Documentation - SAP Help Portal
This pragma can be used to hide a syntax warning in a method definition that warns that a predefined function is obscured. The...
Read more >Pragmas (The C Preprocessor)
The ' #pragma ' directive is the method specified by the C standard for providing additional information to the compiler, beyond what is...
Read more >Pragma statements supported by SQLite
In some pragmas, the schema name is meaningless and is simply ignored. In the documentation below, pragmas for which the schema name is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, at least the color is no longer orange…
Let’s re-open this @rikvdkleij.
My local dev branch resolves this in an ideal way, I hope I can re-close this issue in the PR 😉