summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Added Swift concurrency keywords (#1842)Filip Němeček2021-06-201-2/+2
| | | |
* | | | Rust: fix lexing of "break" and "continue"Georg Brandl2021-06-203-1/+41
| | | | | | | | | | | | | | | | fixes #1843
* | | | Add lexers.specials.OutputLexer. (#1836)Walter Dörwald2021-06-072-2/+16
| | | |
* | | | Correctly highlight multiline console input, even without PS2 prompt (#1833)Jesse Tan2021-06-045-4/+39
| | | |
* | | | CI: add a "check mapfiles" action (#1828)Georg Brandl2021-06-021-0/+14
| | | |
* | | | Add golang alias for the Go language (#1827)Situphen2021-05-312-2/+2
| | | |
* | | | fix changelogGeorg Brandl2021-05-311-5/+0
| | | |
* | | | Update LLVM lexer to use keywords of LLVM 12.0. (#1824)Fraser Cormack2021-05-311-57/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The keywords are based on the extraction of keywords the LLVM 12.0 lexer source code. They were taken from the `KEYWORD` and `INSTKEYWORD` macros for the 'Keyword' tokens, and 'Type' tokens were from the `TYPEKEYWORD` macro. The keywords were then sorted against the current set. Due to formatting issues in the arrays, the actual Type diff is: ``` diff +x86_mmx +x86_amx ``` and the Keyword diff is: ``` diff +aarch64_sve_vector_pcs +aarch64_vector_pcs +alwaysInline +amdgpu_gfx +blockcount +byref +callbr +canAutoHide +cfguard_checkcc +dso_local_equivalent +fneg +mustprogress +nocallback +nofree +noInline +nomerge +noprofile +nosync +noundef +null_pointer_is_valid +param +params +partition +preallocated +sanitize_memtag +speculative_load_hardening +tailcc +typeidCompatibleVTable +varFlags +vcall_visibility +virtFunc +vscale +vTableFuncs +x ```
* | | | TNT: fix reliance on "assert" stmt, handle recursionGeorg Brandl2021-05-303-18/+37
|/ / /
* | | Reserve next entry in CHANGES.Matthäus G. Chajdas2021-05-031-0/+4
| | |
* | | Prepare 2.9.0 release.2.9.0Matthäus G. Chajdas2021-05-032-2/+2
| | |
* | | Update CHANGES.Matthäus G. Chajdas2021-05-021-0/+1
| | |
* | | Add support for elixir phoenix leex templates (#1577)Jason S2021-05-022-2/+2
| | |
* | | Update CHANGES.Matthäus G. Chajdas2021-05-021-1/+12
| | |
* | | groovy lexer: detect quoted function names (#1765)Alison Winters2021-05-026-10/+47
| | | | | | | | | | | | | | | | | | | | | * groovy lexer: parse keywords before function names like java * groovy lexer: detect quoted function names * changes: update groovy lexer
* | | encode `str` into `bytes` for `_lookup_ctag` argument; (#1724)Cyker Way2021-05-021-1/+1
| | | | | | | | | | | | | | | | | | check source code of `python-ctags` and `python-ctags3` to see what argument type is expected (answer: `char *`); guess this is python 2 legacy; but now it should work in python 3;
* | | Support Terraform 0.14 syntax (#1756)Leonardo Giordani2021-05-0212-1263/+766
| | | | | | | | | | | | | | | * Support Terraform 0.14 syntax * Use \S instead of [^\s]
* | | Support for OMG IDL (#1595)Fred Hornsey2021-05-0211-4/+983
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support for OMG IDL Lexer for [Object Management Group Interface Definition Language](https://www.omg.org/spec/IDL/About-IDL/). * Allow Whitespace Before include in C Preprocessor It wasn't highlighting the included filename the same as if there was no space before the include, but now it is. * Update omg-idl Tests to Latest Requirements * Update omg-idl versionadded to 2.9 Since I just realized this missed the 2.8 release. * Add Missing Operators to omg-idl
* | | autopygmentize: use file before pygmentize; add JSON support (#1786)Reuben Thomas2021-05-021-53/+53
| | | | | | | | | | | | | | | | | | Although pygmentize -N is much cheaper than file, it makes some bad guesses, so use file first. Add support for MIME type application/json.
* | | Add gruvbox styles (#1763)Aaron Moore2021-05-023-0/+113
| | | | | | | | | | | | | | | * add gruvbox light and dark themes * update changes for gruvbox style
* | | add "from" and "as" to js and ts keywords (#1741)Mestery2021-05-021-3/+3
| | | | | | | | | Also removed invalid "AS" from TypeScript lexer.
* | | uniformize aliases order (#1780)Mestery2021-04-2627-101/+101
| | | | | | | | | | | | | | | * uniformize aliases order * LighttpdConfLexer: add lighttpd.conf filename
* | | Improve PromQL lexer with new test cases (#1783)Pablo Seminario2021-04-243-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix PromQL lexer to support values enclosed within single quotes Values for labels could now be enclosed within single or double quotes. * Fix a typo into the lables regex for PromQL lexer The correct label matching operator is `!~` instead of `~!`.
* | | native: darker line numbers (#1779)Matthias Geier2021-04-191-0/+1
| | |
* | | friendly: lighter line numbers (#1778)Matthias Geier2021-04-191-0/+1
| | |
* | | Detect multiline patterns in velocity lexer text analysis (#1776)Andy2021-04-172-4/+44
| | |
* | | Fix style problems with new lexers.Georg Brandl2021-04-164-35/+39
| | |
* | | docs: move style development section to its own doc.Georg Brandl2021-04-163-76/+85
| | | | | | | | | | | | Reference: #1571
* | | MIME lexer: remove analyse_textGeorg Brandl2021-04-161-21/+6
| | | | | | | | | | | | | | | The current implementation is broken, and it is not easy to find a good one for such a generic format.
* | | AMDGPU: Updated modifier tokenization. (#1775)Thomas Symalla2021-04-153-3/+27
| | | | | | | | | | | | | | | | | | | | | * Added new modifier tokenizer. * Add expected output for the AMDGPU test. * Used "words" function.
* | | Fix capnproto URL (#1772)sblondon2021-04-121-1/+1
| | |
* | | Rust: fix raw string tokenGeorg Brandl2021-04-122-1/+118
| | | | | | | | | | | | Fixes #1771
* | | Fix python lexer parsing floats incorrectly (#1768)Liam Stevens2021-04-102-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lexers: python: add test cases for floats * lexers: python: fix float lexing * lexer:python:fixed test syntax Co-authored-by: Aidan Do <giahuydo99@gmail.com>
* | | Don't mix foreground for background in _deprecated_ansicolors lookup (#1748)Petr Viktorin2021-04-071-1/+1
| | |
* | | Swift lexer: add 'associatedtype' keyword (#1767)Lukas Kollmer2021-04-071-2/+2
| |/ |/|
* | lexers: devicetree: allow node label without root node (#1755)Gerard Marull-Paretas2021-04-052-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lexers: devicetree: allow node label without root node It is sometimes useful to render DeviceTree snippets such as: foo: bar@1234 { foo = "bar"; }; However the snipper shown above does not render properly unless it is enclosed on a root node, i.e. /{ foo: bar@1234 { foo = "bar"; }; }; Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no> * tests: add devicetree lexer test for fragments out of root node Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
* | Update CHANGES.Matthäus G. Chajdas2021-04-041-1/+3
| |
* | Fix #1416: add WebAssembly lexer (#1564)Jendrik2021-04-0413-0/+479
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add WebAssembly lexer * avoid test failure by using the default function instead of an empty regex * address small issues * fix WebAssembly string escapes * change WebAssembly multiline comment parsing * update copyright year * set versionadded to 2.9 * change WebAssembly tests to use the new test system * change WebAssembly unit test to use snippets
* | faq: Add sourcehut (#1761)jgart2021-03-301-0/+1
| |
* | fix typo (#1762)jgart2021-03-301-1/+1
| |
* | PowerShell: lex ':' (#1758)amitkummer2021-03-284-4/+39
| |
* | Filename to <th> if linenos=table (fixes #1757) (#1759)Andy Pearce2021-03-28132-4/+1028
| | | | | | | | | | | | | | | | | | * Filename to <th> if linenos=table (fixes #1757) * Emit `<th>` for `filename` if `linenos=table`. * Added test cases for filename inclusion. * Updated CHANGES
* | Update CHANGES.Matthäus G. Chajdas2021-03-212-0/+3
| |
* | Add NestedText lexer (#1578)Kale Kundert2021-03-215-1/+200
| | | | | | | | | | | | | | | | | | * Add NestedText lexer * Add NestedText to list of supported languages * Add some more test cases * Update tests.
* | Require pytest 6.0 or later (fixes #1749.)Matthäus G. Chajdas2021-03-211-1/+1
| |
* | Update CHANGES.Matthäus G. Chajdas2021-03-151-0/+1
| |
* | Leading underscore in APL variable names (GNU, Dyalog) (#1747)Stefan Kruger2021-03-153-4/+33
| | | | | | | | | | | | | | | | | | | | | | * Two small tweaks to the APL lexer: 1. Add all APL file suffixes 2. Allow leading _ in variable names (GNU APL, Dyalog) * Build mappings to pick up new file extensions * Add tests for APL: 1. Leading underscores for variables OK (Dyalog, GNU)
* | Update CHANGES.Matthäus G. Chajdas2021-03-141-0/+1
| |
* | Update CHANGES.Matthäus G. Chajdas2021-03-142-1/+2
| | | | | | | | Also fixes the versionadded macro.
* | Add a teal lexer (#1671)iscke2021-03-147-0/+279
| | | | | | | | | | | | | | | | | | * Add a teal lexer * fix an indent * convert tests, fix version, alias * fix examplefile