summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | Merged in fredrikhl/pygments-main (pull request #741)Anteru2018-11-243-2/+355
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #1389: Markdown lexer bug Approved-by: Anteru <bitbucket@ca.sh13.net>
| | | | * \ \ \ \ Merged in maxime_vidori/pygments-main (pull request #714)Anteru2018-11-241-2/+31
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Dockerfile lexer Approved-by: m m <marnitto@gmail.com>
| | | | | * | | | | Update Dockerfile lexerMaxime Vidori2017-03-281-2/+31
| | | | | | |_|/ / | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Dockerfiles new keyword in the lexer Improve lexer to parse json arrays on specific commands Handle line breaks as a bash syntax
| | | | * | | | | Merged in technomancy/pygments-main/fennel (pull request #783)Anteru2018-11-241-0/+156
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for the Fennel programming language
| | | | | * | | | | Add support for the Fennel programming languagePhil Hagelberg2018-11-161-0/+156
| | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a pretty straightforward language in the lisp family with a small number of special forms. Since Fennel runs on the Lua runtime, the list of builtins is the same as that of Lua, so it might be possible to re-use the definition from the Lua lexer, but since I don't know Python I couldn't figure out how that would work; maybe someone else could add that.
| | | | * | | | | Merged in Reedbeta/pygments-main/hlsl-lexer (pull request #675)Anteru2018-11-2444-44/+253
| | | | |\ \ \ \ \ | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add HLSL lexer Approved-by: Anteru <bitbucket@ca.sh13.net>
| | | | * | | | | Add string literal parsing to HLSL lexer (copied from the one for C++).Nathan Reed2016-12-291-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Also added a snippet to the example file where a string shows up (uncommon in HLSL).
| | | | * | | | | Add example file for HLSLNathan Reed2016-10-051-0/+157
| | | | | |_|/ / | | | | |/| | |
| | | * | | | | Fix issue with markdown lexer code fencesFredrik Larsen2017-11-101-0/+31
| | | | |/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the bug reported in #1389, where the markdown lexer will not issue a token for the closing code fence. Issue: #1389
| | * | | | | Fixed missing complex float caseKevin Stone2017-05-021-0/+1
| | | | | | |
| | * | | | | Added pep 515 support to the python lexerKevin Stone2017-05-021-0/+19
| | |/ / / / | | | | | | | | | | | | | | | | | | Fixes #1299
| * | | | | example shows new keywordsmppf52018-09-101-0/+7
| | | | | |
| * | | | | Updating Chapel highlightermppf52017-09-251-0/+20
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include new error handling keywords * fix problems with 1-character procs * include Type.method in method name * highlight iterators in addition to procs
| * | | | fix an issue where a route 53 alias was shown as an errorJames Edwards2017-03-131-0/+10
| | |/ / | |/| |
| * | | Xorg: add whitespace ruleGeorg Brandl2017-01-301-1/+1
| | | |
| * | | Xorg: fixup style, add test file, regenerate mapping.Georg Brandl2017-01-291-0/+48
| | |/ | |/|
| * | -x functionality updates, Python 3 compatibility fixGeorg Brandl2017-01-223-9/+8
| | |
| * | Merged in tprynn/pygments-main/command-line-lexer-formatter (pull request #559)Georg Brandl2017-01-2267-47/+8062
| |\ \ | | | | | | | | | | | | Custom Lexer/Formatter File Loading
| | * \ Merged in zhouzhen1/pygments-main/perllexer (pull request #688)Georg Brandl2017-01-2239-43/+101
| | |\ \ | | | | | | | | | | | | | | | Fix Perl5 lexer for namespaces/modules.
| | | * | Copyright update.Georg Brandl2017-01-2237-37/+37
| | | | |
| | | * | modeline: work for the first N lines and add a test to keep it that wayGeorg Brandl2017-01-221-0/+26
| | | | |
| | | * | Add support for partials and path segments for Handlebars.Christian Hammond2016-11-04478-0/+129285
| | | / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.
| | * | Fix Perl5 lexer for namespaces/modules. Also see ↵Zhenyi Zhou2017-01-011-1/+21
| | |/ | | | | | | | | | https://github.com/EntropyOrg/p5-Devel-IPerl/issues/25
| * | bring this branch up-to-date with master, and resolve merge conflicts in ↵Tanner Prynn2016-02-264-0/+74
| |\ \ | | | | | | | | | | | | lexerdev documentation
| | * | Use exec instead of imp.load_sourceTanner Prynn2016-02-261-217/+4
| | | | | | | | | | | | | | | | Custom lexer/formatter are no longer added to sys.modules()
| | * | Update pull request per comments by birkenfeld.Tanner Prynn2016-02-243-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add optional function parameter for the class name to instantiate, and update cli to support this. Move error handling to within the loading functions; they now only raise ClassNotFound. Modify doc with these updates and the version number. Test case clean up and additions.
| | * | add tests for custom lexer/formatter loading from fileTanner Prynn2016-02-223-0/+261
| | | |
* | | | Added lexer for VBScript.Thomas Aglassinger2016-10-022-0/+129
| |_|/ |/| |
* | | Merged in jesquik/pygments-main-1243 (pull request #604)Tim Hatch2016-06-035-1/+237
|\ \ \ | | | | | | | | | | | | Fixes Issue #1243
| * \ \ Merged in kneufeld/pygments-main (pull request #602)Tim Hatch2016-06-033-1/+172
| |\ \ \ | | | | | | | | | | | | | | | Default
| | * | | Fix some unicode-related tests on Python 2.Tim Hatch2016-06-032-7/+5
| | | | | | | | | | | | | | | | | | | | Regexopt does the wrong then when given a mix of string types (as happens in Python 2).
| | * | | Merged in domspad/pygments-main2 (pull request #603)Tim Hatch2016-06-021-1/+64
| | |\ \ \ | | | | | | | | | | | | | | | | | | test for unicode chars in julia
| | | * | | typodomspad2016-06-021-2/+2
| | | | | |
| | | * | | added test for python3 at operatordomspad2016-06-021-1/+64
| | | | | |
| | * | | | python typosdomspad2016-06-021-2/+2
| | | | | |
| | * | | | test for unicode chars in julia`domspad2016-06-021-0/+60
| | |/ / /
| | * | | Replaced test method placeholder name and added docstringJessie Wincek2016-06-021-1/+5
| | | | |
| | * | | Fixed reStructuredText heading markerJessie Wincek2016-06-021-1/+1
| | | | |
| | * | | Added Python cls builtin word token recognitionJessie Wincek2016-06-021-0/+46
| | | | |
| * | | | added github flavoured markdown parserKurt Neufeld2016-06-021-0/+61
| | | | |
| * | | | allow running of a single example file test...Kurt Neufeld2016-06-021-0/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | set environment variable TEST_EXT to desired test file extension before running tests. eg. TEST_EXT=md nosetests tests/test_examplefiles.py
* | | | Added recognition of keys without a value being setJessie Wincek2016-06-021-0/+16
| | | |
* | | | The test test_space_delimiited_kv_pair() got a nameJessie Wincek2016-06-021-1/+1
| | | |
* | | | Added space as a valid delimiter between key and value. Added tests for \ ↵Jessie Wincek2016-06-021-0/+33
| | | | | | | | | | | | | | | | escaped spaces in keys and values.
* | | | Comment leading whitespace no longer counts as Token.Comment but instead ↵Jessie Wincek2016-06-021-0/+9
| | | | | | | | | | | | | | | | Token.Text
* | | | Added ! comment recognitionJessie Wincek2016-06-021-0/+31
|/ / /
* | | Prevent runaway escapes in php string.Tim Hatch2016-06-011-0/+36
| | | | | | | | | | | | Fixes #1184
* | | Fix a bug in default grouping in regexopt when the words are all the same ↵Tim Hatch2016-06-011-0/+34
| | | | | | | | | | | | | | | | | | length. Fixes #1229
* | | Add backslash-continuation support to console lexer.Tim Hatch2016-06-011-1/+22
| | | | | | | | | | | | Fixes #1237
* | | Improve number highlighting in bash.Tim Hatch2016-06-011-0/+32
| | | | | | | | | | | | Fixes #1244