summaryrefslogtreecommitdiff
path: root/pygments
Commit message (Collapse)AuthorAgeFilesLines
* Fix raw strings for regexLucas Werkmeister2019-07-211-2/+2
|
* Add lexer for ShExCLucas Werkmeister2019-07-202-1/+148
| | | | | | | | | | | | | | | | | ShExC [1] is one syntax for the ShEx (shape expressions) language [2] to describe the structure of RDF graphs (the other two syntaxes are based on JSON-LD and RDF and don?t need special lexers). It is syntactically similar to SPARQL, which is why a lot of the productions of ShExCLexer are copied from SparqlLexer, but at the same time has enough differences that I feel it?s better to simply copy the productions rather than trying to share them between the two lexers (compare e.?g. PN_LOCAL_ESCAPE_CHARS or IRIREF). The example file purports to be a brief schema for Pygments lexers, which I put together from scratch to avoid licensing issues with existing example schemas; it should not be taken too seriously. [1]: https://shex.io/shex-semantics/#shexc [2]: https://shexspec.github.io/primer/
* Fix some typos in comments.Matth?us G. Chajdas2019-07-201-2/+2
|
* Merged in bittucket/pygments-main/hbs-update (pull request #773)Anteru2019-07-201-11/+10
|\ | | | | | | HandlebarsLexer Update
| * Update comment.Mark Lautman2018-07-051-1/+2
| |
| * Add robustness to Handlebars laxer.Mark Lautman2018-07-051-11/+9
| |
* | Merged in bnbn/pygments-main (pull request #820)Anteru2019-07-202-0/+127
|\ \ | | | | | | | | | Added lexer for Zig programming language
| * | use keyword no longer valid, replaced with usingnamespaceStephen2019-07-091-1/+1
| | |
| * | Added lexer for Zig programming language and test file.Stephen2019-05-232-0/+127
| | |
* | | Fix #1528 -- Yaml gets confused when a comment contains a key:value pair.Matth?us G. Chajdas2019-07-201-1/+1
| | |
* | | Merged in yuce/pygments-main/fix-1521 (pull request #823)Anteru2019-06-221-2/+2
|\ \ \ | | | | | | | | | | | | Fixes #1521, Erlang and Elixir shell lexers
| * | | Fixes #1521, Erlang and Elixir shell lexersYuce Tekol2019-06-021-2/+2
| | | |
* | | | Make the NasmLexer the default for *.asm.Matth?us G. Chajdas2019-06-221-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | NASM is much more popular than TASM, but get_lexer_for_filename('.asm') would return TASM. Resolved by changing the NASM priority to 1, and adding an analyse_text implementation to both NasmLexer and TasmLexer to help resolve which one to use (PROC should be fairly common in TASM code.)
* | | | Remove invalid priority on TypoScriptLexer.Matth?us G. Chajdas2019-06-221-3/+0
| | | | | | | | | | | | | | | | | | | | It's no longer 0 to resolve an ambiguity with the TypeScript lexer -- different file endings are used.
* | | | Fix encoding.Georg Brandl2019-06-021-2/+2
| | | |
* | | | rust: Add async, await, try keywordPhap Tran2019-05-301-6/+6
|/ / /
* | | Add protobuf 'reserved' keyword.Benjamin Peterson2019-05-281-3/+3
| | | | | | | | | | | | The "reserved" keyword allows preventing field names and tags from being reused. See https://developers.google.com/protocol-buffers/docs/proto#reserved.
* | | Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-28211-1193/+1134
| | |
* | | Fix CRLF newlines.Georg Brandl2019-05-281-102/+102
| | |
* | | Boa, SGF: minor fixupsGeorg Brandl2019-05-282-29/+46
| | |
* | | Update changelog, prepare 2.4.2 release.Georg Brandl2019-05-281-1/+1
| | |
* | | Properly decode text in guess_lexer if necessary.Georg Brandl2019-05-281-1/+8
| | | | | | | | | | | | fixes #1438
* | | Update CHANGES and prepare for 2.4.1 release.Matth?us G. Chajdas2019-05-241-1/+1
|/ /
* | Merged in lucatorella/pygments-main (pull request #813)Anteru2019-05-2122-41/+1888
|\ \ | | | | | | | | | Add support for @import keyword in Objective-C
| * | Fix directive parsing in NasmLexer (fixes #1517.)Matth?us G. Chajdas2019-05-211-2/+4
| | | | | | | | | | | | | | | | | | | | | Directives were parsed independent of whitespace after them, which caused the cpuid instruction to be parsed as CPU & id, instead of cpuid. We now expect a whitespace character after a directive, which seems to match the Nasm documentation.
| * | Backed out changeset: df3df829861dMatth?us G. Chajdas2019-05-211-7/+1
| | |
| * | Don't emit a trailing newline in nowrap mode (fixes #1514.)Matth?us G. Chajdas2019-05-181-1/+7
| | |
| * | Fix comment handling in Prolog lexer (#1511.)Matth?us G. Chajdas2019-05-181-1/+0
| | | | | | | | | | | | # does not start a comment in Prolog.
| * | Stop highlighting primitive types in Coq (fixes #1430.)Matth?us G. Chajdas2019-05-181-2/+0
| | |
| * | Don't use bold for bright text in the console formatter (fixes #1480.)Matth?us G. Chajdas2019-05-181-1/+1
| | |
| * | Add 'of' to TypeScript grammar (fixes #1515.)Matth?us G. Chajdas2019-05-181-1/+1
| | |
| * | Merged in hroncok/pygments-main/doscon_prompt (pull request #734)Anteru2019-05-091-1/+1
| |\ \ | | | | | | | | | | | | Recognize single > as a prompt in doscon
| | * | Recognize single > as a prompt in dosconMiro Hron?ok2017-09-221-1/+1
| | |/ | | | | | | | | | Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1380/lexer-for-cmdexe-interactive-session-with
| * | Rename the F# parser to F# (same as C#.)Matth?us G. Chajdas2019-05-092-7/+4
| | | | | | | | | | | | | | | fsharp continues to be a valid alias, so existing code which asks for the FSharp lexer will continue to work.
| * | Merged in SylvainCorlay/pygments-main/css-variables (pull request #814)Anteru2019-05-098-16/+63
| |\ \ | | | | | | | | | | | | | | | | | | | | Allow for CSS variable in pygments stylesheets Approved-by: Anteru <bitbucket@ca.sh13.net>
| | * | All lexers should have an alias.Georg Brandl2019-05-082-2/+2
| | | |
| | * | Add docstring to the Boa lexer.Matth?us G. Chajdas2019-05-081-1/+13
| | | |
| | * | Bump version to 2.4.0.Matth?us G. Chajdas2019-05-081-1/+1
| | | |
| | * | Add i128/u128 types to the Rust parser.Matth?us G. Chajdas2019-05-081-1/+1
| | | |
| | * | Add license information to generated files (fixes #1496).Matth?us G. Chajdas2019-05-071-2/+11
| | | | | | | | | | | | | | | | Also update the license year to 2019.
| | * | Merged in fix-1506-2 (pull request #817)Georg Brandl2019-05-072-7/+17
| | |\ \ | | | | | | | | | | | | | | | Never pop all states from the stack, even if a lexer wants to.
| | | * | Fix invalid string escape.Georg Brandl2019-05-071-1/+1
| | | | |
| | | * | Never pop all states from the stack, even if a lexer wants to.Georg Brandl2019-05-061-6/+16
| | | | | | | | | | | | | | | | | | | | fixes #1506
| | * | | Add option to wrap the code in both <code> and <pre> (fixes #438.)Matth?us G. Chajdas2019-05-061-2/+18
| | |/ / | | | | | | | | | | | | Adds a new option "wrapcode" which wraps the code using <code>.
| * | | Allow for CSS variable in pygments stylesheetsSylvain Corlay2019-05-022-4/+11
| |/ /
| * | Update mappings, CHANGS and languages.Matth?us G. Chajdas2019-04-301-1/+1
| | |
| * | Merged in sgarnotel/pygments-main (pull request #785)Matth?us G. Chajdas2019-04-302-0/+968
| |\ \
| | * | Add FreeFem++ lexersgarnotel2018-11-272-0/+968
| | | |
| * | | Merged in 6wind/pygments-main/lexer-fixes (pull request #766)Anteru2019-04-302-3/+3
| |\ \ \ | | | | | | | | | | | | | | | Lexer fixes
| | * | | lexers/apache: allow '>' characters in tagsRobin Jarry2018-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix lexer to support this: <IfVersion >= 2.4> ErrorLogFormat "%{cu}t %M" </IfVersion>