Commits

Show all
Author Commit Message Labels Comments Date
Chris Morgan
Fix Rust doc comments.
Chris Morgan
Rust lexer updates for language changes. - In strings and character and byte literals, ``\uXXXX`` and ``\UXXXXXXXX`` have been replaced with ``\u{X}``. - ``int`` and ``uint`` are now ``isize`` and ``usize``, including their literal form suffixes. - ``crate`` is a keyword. - Prelude items are updated.
Chris Morgan
Update the Rust prelude items.
Chris Morgan
Highlight strings more properly in Rust. - Raw strings are now ``String`` rather than the unofficial ``String.Raw`` which isn’t styled by default; - Byte strings weren’t being handled at all; - ``\x80`` and above aren’t valid in non-byte strings; - ``\0`` is a thing, ``\777`` for octal 7 is *not* a thing, nor has it ever been, to the best of my knowledge. Not sure why that one was in there at all.
Chris Morgan
Highlight the suffix of ``9i`` properly in Rust. ``i`` and ``u`` are valid suffixes and should be highlighted.
Chris Morgan
Fix character literals in Rust. Shifting lifetimes up had broken them.
Chris Morgan
Improve Rust lifetime highlighting. A lifetime token isn’t normally a label, though it can be in a couple of situations, demonstrated thus:: 'foo: loop { break 'foo; } Therefore, I’ve changed the highlighting for all other places where lifetimes appear from ``Name`` or ``Name.Label`` to ``Name.Attribute``. As for the special lifetime ``'static``, which was being highlighted as ``Keyword``, I changed it to ``Name.Bu…
Georg Brandl
Merged in selesse/pygments-main (pull request #466) Syntax highlight Gradle files with Groovy
Alex Selesse
Syntax highlight Gradle files with Groovy
Georg Brandl
Python: add async, await, matmul op
Georg Brandl
jinja: allow functions starting with underscores
Georg Brandl
remove unneeded ur literal
Georg Brandl
Merged in malmaud/pygments-main (pull request #471) Support Unicode identifiers in Julia.
Jonathan Malmaud
Change Julia lexer to use multiline mode.
Jonathan Malmaud
Extend Julia unicode identifier range.
Jonathan Malmaud
Support Unicode identifiers in Julia.
Georg Brandl
Merged in lydia_duncan/pygments-main (pull request #485) Add private and public keywords to Chapel lexer and example program.
lydia_duncan
Add private and public keywords to Chapel lexer and example program.
Georg Brandl
Merged in erikrose/pygments-main (pull request #441) #1081: Revert e19e3591780ae26aaa0c2a672771192f71c28b50 to fix a case of pathological slowness.
Erik Rose
#1081: Revert e19e3591780ae26aaa0c2a672771192f71c28b50 to fix a case of pathological slowness.
Georg Brandl
Merged in fvbommel/pygments (pull request #464) Fix highlighting for $# in the shell lexer.
Frits van Bommel
Fix highlighting for $# in the shell lexer. If '$' is directly followed by '#' the variable ends right there. This is especially important at the end of a string, as the closing quote would be lexed as part of the variable instead, but was wrong in every other case as well. Fixed by simply removing the '#?' and letting the following '.' eat it.
Georg Brandl
Merged in skleinfeld/pygments-main (pull request #463) Bug fix for ScssLexer when highlighting lines that have multiple propety/value pairs, or inline comments
Sanders Kleinfeld
Bug fix for ScssLexer when highlighting lines that have multiple propety/value pairs, or inline comments
Georg Brandl
remove x bit from example files
Georg Brandl
Merged in indygreg/pygments-main (pull request #465) Detect .jsm files as JavaScript
Gregory Szorc
Detect .jsm files as JavaScript The .jsm extension for JavaScript files is used by a few projects, notably Mozilla projects like Firefox. .jsm files should be treated as equivalent to .js files.
Georg Brandl
Merged in laurentbristiel/pygments-main (pull request #480) Robot Framework lexer: handle new dictionary variables and tags in Keywords
laurent bristiel
handle tags in keywords now available in Robot Framework 2.9
laurent bristiel
Robot Framework lexer: add new dict variable in test file
  1. Prev
  2. Next