Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(clj) Fix broken/inconsistent highlighting for
$
, Numbers, namespaced maps, HINT mode. Add charachter, regex and punctuation modes. #3397fix(clj) Fix broken/inconsistent highlighting for
$
, Numbers, namespaced maps, HINT mode. Add charachter, regex and punctuation modes. #3397Changes from 12 commits
dd161d5
e1fda58
c7f1f47
7af493c
82850bd
7cd7549
3048320
cbb6d4e
5b45dbd
f3c6a21
70c463f
4ee86ac
0d1cdfe
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is so tiny a match... can we do any looking forward to qualify it? I'm imagining false positives with any language that allows
\SOMETHING
style tags... if we can't qualify it I think we should make itrelevance: 0
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wait, it's
[literal \][non space]
(even broader than I was first reading it)... yeah I think we should add relevance: 0.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a literal and can appear anywhere, so you are right with
relevance: 0
.I didn't put any thought in this or the other modes, what the
relevance
may be. What is "typically Clojure"?It would be a nice exercise to generate possible values for modes and try to match them against other languages to automatically calculate the relevance. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added
relevance: 0
.Although, I am not sure how many programming languages support the full first Unicode plane.
\⠓
is a valid Clojure literal.This file was deleted.
This file was deleted.