-
Notifications
You must be signed in to change notification settings - Fork 743
Comparing changes
Open a pull request
base repository: rouge-ruby/rouge
base: v3.24.0
head repository: rouge-ruby/rouge
compare: v3.25.0
- 13 commits
- 21 files changed
- 8 contributors
Commits on Oct 17, 2020
-
Feature: Add Dockerfile as an alias for the docker lexer. (#1609)
* Update docker.rb * format: change double quotes to single quote
Configuration menu - View commit details
-
Copy full SHA for d8ef971 - Browse repository at this point
Copy the full SHA d8ef971View commit details
Commits on Oct 20, 2020
-
Fix lexing of brackets in Velocity lexer (#1605)
The Velocity lexer includes a rule that incorrectly spells the `:push` magic state as `:push!`. This causes an error when lexing brackets (which match this rule). This commit fixes that mistake.
Configuration menu - View commit details
-
Copy full SHA for 47c0718 - Browse repository at this point
Copy the full SHA 47c0718View commit details
Commits on Oct 30, 2020
-
used 'Enumerator#with_index' to detect lineno. (#1615)
* used 'Enumerator#with_index' to detect lineno. * Changing variable names * 'tokens_in_line' -> 'line_tokens' The names of variables used as "line_tokens" in html_line_table and html_linewise files should be changed to match the names of those files.
Configuration menu - View commit details
-
Copy full SHA for 6ef0daa - Browse repository at this point
Copy the full SHA 6ef0daaView commit details
Commits on Nov 9, 2020
-
Add continue to keywords in Rust lexer (#1617)
The `continue` keyword is missing from the list of keywords. This commit adds it.
Configuration menu - View commit details
-
Copy full SHA for 3475ae3 - Browse repository at this point
Copy the full SHA 3475ae3View commit details -
Fix binary literal digit separator in C++ lexer (#1620)
The C++ lexer uses `_` as a digit separator for binary literals. This is syntactically incorrect. The digit separator in C++ is `'`. This commit fixes that error. Co-authored-by: Stuart <stuart.wheaton@jhuapl.edu> Co-authored-by: Michael Camilleri <mike@inqk.net>
Configuration menu - View commit details
-
Copy full SHA for b4cdfaf - Browse repository at this point
Copy the full SHA b4cdfafView commit details -
Improve handling of data structure literals in PowerShell lexer (#1595)
The PowerShell lexer includes a hash table state as a special case and is not tested on more complex tables (e.g. including comments and code). This commit factors out the hash table state into a more generic `:expr` state that can handle more complex structures. This commit also reduces the overall level of highlighting. This improves the visibility of the more important syntax.
Configuration menu - View commit details
-
Copy full SHA for d7fd623 - Browse repository at this point
Copy the full SHA d7fd623View commit details -
Ensure word break follows keywords in Kotlin lexer (#1621)
Rouge will currently match identifiers in the Kotlin lexer that begin with certain keywords (such as `super`). This is because of a change in #1496 that added a rule to support labels. That change should have updated the rule to end with a `\b` so as to ensure that identifiers that begin with the listed keywords are followed by a word break. This commit fixes that error.
Configuration menu - View commit details
-
Copy full SHA for 2e2627e - Browse repository at this point
Copy the full SHA 2e2627eView commit details
Commits on Nov 10, 2020
-
Add support for long options to Batchfile lexer (#1626)
The Batchfile lexer does not support 'long options' (i.e. options that begin with --). This commit adds support for that.
Configuration menu - View commit details
-
Copy full SHA for 5a40f6f - Browse repository at this point
Copy the full SHA 5a40f6fView commit details -
Improve support for sigils in Perl lexer (#1625)
Perl supports a variety of different sigils (`$`, `@`, `%`, etc). This commit improves support for some of the more unusual combinations of sigils.
Configuration menu - View commit details
-
Copy full SHA for 03b91ed - Browse repository at this point
Copy the full SHA 03b91edView commit details -
Revert empty patterns in Ruby lexer (#1624)
The maintenance changes in #1548 resulted in updates to two rules in the Ruby lexer, one regarding regular expression flags and the other regarding heredoc strings. However, these patterns should not have been changed. The change in #1548 was to prevent rules that matched an empty string unless they contained a 'predicate' of some sort. Both rules in the Ruby lexer contained such a predicate and so should not have been changed. This commit fixes that error.
Configuration menu - View commit details
-
Copy full SHA for ba8096c - Browse repository at this point
Copy the full SHA ba8096cView commit details -
Fix template string lexing in JavaScript lexer (#1623)
The changes made in #1548 to avoid empty regular expression patterns, broke the template string rules in the JavaScript lexer (and lexers such as the TypeScript lexer that inherit from it). This commit adds the rules necessary to fix this lexing.
Configuration menu - View commit details
-
Copy full SHA for f10994d - Browse repository at this point
Copy the full SHA f10994dView commit details -
Improve lexing of nested data structures in PowerShell lexer (#1622)
While #1595 improved the lexing of more complex structures, the PowerShell lexer is limited in its support for nested data structures. This commit moves more of the syntax for representing values from the `:root` state to the `:expr` state so that this syntax can work when nested.
Configuration menu - View commit details
-
Copy full SHA for d7e67da - Browse repository at this point
Copy the full SHA d7e67daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b0a298 - Browse repository at this point
Copy the full SHA 2b0a298View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.24.0...v3.25.0