This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
forked from alecthomas/chroma
-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dron22
approved these changes
Nov 18, 2020
gandarez
added a commit
that referenced
this pull request
Nov 24, 2020
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
dron22
pushed a commit
that referenced
this pull request
Dec 7, 2020
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
dron22
pushed a commit
that referenced
this pull request
Dec 7, 2020
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
dron22
pushed a commit
that referenced
this pull request
Dec 8, 2020
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
gandarez
added a commit
that referenced
this pull request
Jun 21, 2021
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
gandarez
added a commit
that referenced
this pull request
Jun 21, 2021
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
gandarez
added a commit
that referenced
this pull request
Nov 27, 2021
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
gandarez
added a commit
that referenced
this pull request
Nov 28, 2021
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
gandarez
added a commit
that referenced
this pull request
Feb 14, 2022
* Add basic structure for CBM BASIC V2 lexer * Add CBM BASIC V2 lexer text analysis
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR ports pygments CBM BASIC V2 text analysis to chroma/go. Original code can be found at: https://github.com/pygments/pygments/blob/master/pygments/lexers/basic.py#L355
According to documentation and the comment left on pygments if lines are found starting with a number might not be detected as "modern" Basic, like VB.Net. So I changed the regex adding
^
at the very beginning.Pygments PR to fix it.