tests/languages


Log

Author Commit Date CI Message
Alex Kanunnikov ef4d29d9 2020-01-11T02:05:37 Handlebars: Added support for `:` and improved the `variable` pattern (#2172) This adds support for `:` as punctuation and removes the `.` from the list of allowed characters in the `variable` pattern as it is impossible to match because of the `punctuation` pattern.
Michael Schmidt c40d96c6 2020-01-08T15:57:52 Added QML (#2139) This adds support for QML (Qt Modeling Language), a user interface markup language. https://en.wikipedia.org/wiki/QML https://doc.qt.io/qt-5/qtqml-index.html
cedporter 99d979a0 2020-01-07T09:10:22 SAS: Added CASL support (#2112) This adds CASL support, a scripting language used within PROC CAS in SAS. https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=pgmdiff&docsetTarget=p06ibhzb2bklaon1a86ili3wpil9.htm&locale=en
0xc14m1z fd857e7b 2020-01-06T19:12:49 JSX: Improved spread operator in tag attributes (#2159) This allows any number of spaces around JSX attribute spread expressions.
Michael Schmidt d7ad48f9 2020-01-06T13:50:17 Markdown: Better language detection for code blocks (#2114) This improves the language detection for code blocks by using only the first word instead of the whole expression and replacing some characters so languages like `c#` and `c++` are supported.
Michael Schmidt 1f3f8929 2020-01-05T20:11:53 JS: Added support for keywords after a spread operator (#2148) This PR fixes that keywords after a spread operator weren't highlighted. This is mainly for the `await` and `new` keywords.
Christophe Eymard f018cf04 2020-01-05T20:03:12 JSX: Made `$` a valid character for attribute names (#2144)
David Grudl 694a81b8 2020-01-05T20:00:51 Added support for Latte & NEON (#2140) - Added support for templating system Latte https://latte.nette.org - Added support for NEON https://ne-on.org
Petrik de Heus 401d4b02 2020-01-05T19:59:16 Ruby: Override 'class-name' definition (#2135) Unlike other C-like languages, in Ruby objects don't get initialized by using `new Object` but `Object.new`. So whatever comes after `new` probably isn't a classname.
Alex Fedoseev 7f1c55b7 2020-01-05T21:57:33 ReasonML: Add support for single line comments (#2150)
Michael Schmidt 24c8f833 2020-01-05T19:56:14 PHP: Fixed exponential runtime of a pattern (#2157) This fixes the exponential runtime of the pattern used to identify PHP code embedded in HTML.
Michael Schmidt a23d8f84 2020-01-05T18:34:45 JS: Better regex detection (#2158) This improves the detection of regular expressions.
Asko Soukka baa78774 2019-11-16T00:59:18 Rename "robot-framework" to "robotframework" (#2113) This changes the id of the Robot Framework language.
Michael Schmidt 631f1e34 2019-10-26T18:53:47 Added support for BrightScript (#2096) This adds support for BrightScript.
Michael Schmidt f31946b3 2019-10-25T21:53:29 Added support for Moonscript (#2100) This adds support for the Moonscript language.
Michael Schmidt aaf13aa6 2019-10-25T21:12:20 Added support for BBCode (#2095) This adds support for the BBCode markup language.
Michael Schmidt ee7fdbee 2019-10-25T21:09:57 Java: Added missing :: operator (#2101) This adds the `::` operator and removes the backreference for better performance.
cedporter 3640b3f2 2019-10-23T11:45:12 SAS: Added support for embedded Groovy and Lua code (#2091) Like PROC SQL, PROC GROOVY and PROC LUA both contain syntax that should be treated as the language specified by the PROC, not SAS. This implements that highlighting.
Michael Schmidt 68d1c472 2019-10-20T10:59:47 Ruby: Made `true` and `false` booleans (#2098) This makes `true` and `false` `boolean` tokens. Previously they were tokenized as `keyword`.
Michael Schmidt 99994c58 2019-10-19T14:35:23 Markup: Improved doctype pattern (#2094) This changes Markup's `doctype` pattern to adhere to the XML spec more closely.
Michael Schmidt f460eafc 2019-10-19T14:31:27 Ruby: Added missing keywords (#2097) This adds the missing keywords `extend`, `include`, and `prepend`.
Michael Schmidt c187e229 2019-10-16T12:06:22 Added test for unused capturing groups (#1996) This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
Michael Schmidt cfac94ec 2019-10-16T11:41:51 Added SQF language (#2079) This adds support for the SQF language. https://community.bistudio.com/wiki/SQF_syntax
Michael Schmidt 0b771c90 2019-10-16T11:33:14 Added support for etlua (#2050) This adds support for etlua (Embedded Lua templating).
Michael Schmidt aaaa29a8 2019-10-16T11:28:54 Added support for ANTLR4 (#2063) This adds support for ANTLR4. Languages embedded via actions are not highlighted.
Michael Schmidt 2f3da7e8 2019-10-16T11:18:57 Added support for FTL (#2080) This adds support for FTL (Freemarker language).
Michael Schmidt fdb7de0d 2019-10-16T10:58:39 JavaScript: Added Optional Chaining and Nullish Coalescing (#2084) This adds support for optional chaining (`?.`) and nullish coalescing (`??`).
Simran 717ace02 2019-10-15T16:03:54 AQL: Disallow unclosed multiline comments again (#2089) This reverts commit f3c6ba590345b140a2306903a5396e28187466eb.
cedporter 07020c7a 2019-10-07T08:39:40 SAS: Minor improvements (#2085) * Reorder comment array to fix edge case added to comment_feature.test * Adjust datalines to allow for possible preceding spaces before the closing semicolon * Move comment in SAS object for correct syntax matching precedence * Add several more keywords
Michael Schmidt 0e5c48d1 2019-09-30T21:09:34 JS: Tokenize `:` as an operator (#2073) This changes the JS tokenization of `:` (colon) to `operator`.
Sooheon Kim 8ea685b8 2019-09-25T18:52:28 Clojure: Added multiline strings (lisp style) (#2061) This adds support for linebreaks in Clojure strings.
Michael Schmidt a7b95dd3 2019-09-24T17:38:09 Added support for syntax in Java 13 (#2060) This adds support for the new `yield` keyword and text blocks (triple quoted strings) which are both introduced in Java 13.
Simran f3c6ba59 2019-09-18T14:57:34 AQL: Allow unclosed multi-line comments (#2058) AQL does not require multi-line comments to be closed. ArangoDB simply treats everything until the end of the query string as a comment in that case. This PR adjusts Prism to highlight such comments correctly.
Simran 899574eb 2019-09-16T18:12:48 AQL: More pseudo keywords (#2055) This adds `COUNT`, `CURRENT`, `KEEP`, and `PRUNE` to the list of keywords such that false positives are (mostly) avoided.
Simran 32a4c422 2019-09-12T21:40:54 AQL: Added missing keyword + minor improvements (#2047) This adds 5 missing keywords, fixes the operator pattern to support the array concatenation operator properly, and makes the number pattern stricter.
thomasdegroot18 c42f877d 2019-09-05T17:28:28 Added support for SPARQL language (#2033) This adds support for the SPARQL language. https://www.w3.org/TR/sparql11-query/
Ben Coman 1aabcd17 2019-09-05T00:10:59 Smalltalk: Fixed single quote character literal (#2041) This fixes the incorrect tokenization of the character literals of single quotes which were recognized as string delimiters.
Michael Schmidt 8403e453 2019-09-03T19:06:15 Added Inline color plugin (#2007) This adds a new plugin to display an inline preview of CSS colors as most IDEs do.
Michael Schmidt 010a0157 2019-09-03T17:45:53 D: Fixed strings (#2029) * Fixed D strings * Rebuilt
Michael Schmidt f7eaa618 2019-09-03T12:56:20 Added Robot Framework plain text format (#2034) This adds support for the Robot Framework plain text space separated format. https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#plain-text-format
Michael Schmidt 3fda5c95 2019-09-03T12:49:58 Added test for nice names (#1911) This adds a test which requires every token name to match a strict pattern to avoid inconsistent naming styles.
Michael Schmidt cc2cf3f7 2019-09-02T20:29:26 Added support for Solidity (#2031) This adds support for the Solidity language. https://solidity.readthedocs.io/en/v0.4.23/
Michael Schmidt fb618331 2019-09-02T20:22:18 Groovy: Minor improvements (#2036) This makes some minor improvements to the Groovy language definition. - Triple quoted strings now support backslash escapes - A single `.` will now be highlighted as `punctuation` instead of `operator` to be consistent with other languages.
Michael Schmidt 3fdb7d55 2019-09-02T20:08:04 Added support for AQL (#2025) This adds support for the AQL language. https://www.arangodb.com/docs/stable/aql/
Michael Schmidt a7cf56b7 2019-08-29T16:25:02 Added suppprt for Zig (#2019) This adds support for the Zig language. https://ziglang.org/
Michael Schmidt 5b8a16d9 2019-08-29T16:15:05 Python: Fixed decorators (#2018) This adds a missing multiline flag to support more than one decorator.
Michael Schmidt 9f722586 2019-08-17T14:36:50 Added support for Firestore security rules (#2010) This adds support for Google Cloud Firestore security rules.
Michael Schmidt ebe363f4 2019-08-17T14:31:41 CSS Extras & PHP: Fixed too greedy number token (#2009) This fixes the too greedy number tokenization of CSS Extras which cause the placeholders of PHP (via markup templating) to be partly tokenized. The CSS extras number pattern was adjusted to solve the issue.
Michael Schmidt e2b99f40 2019-08-14T11:40:43 Added support for GDScript (#2006) This adds support for the GDScript language.
cedporter 076f6155 2019-08-08T15:16:31 SAS: Major improvements (#1981) This makes various improvements to the SAS language definition such as adding support for embedded SQL, missing keyword and language elements, more granular tokenizing, and many more.
Jakub Klímek 508d57ac 2019-08-06T15:30:24 Added RDF Turtle/TriG language (#2012) This adds support for the RDF Turtle/TriG language.
Michael Schmidt e7702ae1 2019-07-22T01:27:48 Diff: Added support for syntax highlighting inside diff blocks (#1889) This adds support for syntax highlighting inside diff blocks via a new plugin called: Diff Highlight.
Michael Schmidt c8844286 2019-07-21T22:59:46 Highlight JS tagged template literals (#1931) This adds support for highlighting embedded languages in JavaScript tagged template literals.
RunDevelopment a3a6d9ee 2019-07-20T12:59:11 Resolved conflict
Michael Schmidt 5d992fc5 2019-07-20T12:52:48 Added basic support for LilyPond (#1967) This adds very basic support for LilyPond. More advanced features weren't implemented because the author (me) has no idea about music.
Michael Schmidt c93c066b 2019-07-20T12:35:15 Added support for Splunk SPL (#1962) This adds support for Splunk SPL and corrects the position of the SQL in `components.json`.
Michael Schmidt e8811d22 2019-07-20T03:18:01 Scheme: Added support for rational number literals (#1964) This adds support for rational numbers like `2/3`.
Michael Schmidt bb84f98c 2019-07-15T23:22:20 Added support for DNS zone files (#1961) This adds support for DNS zone files. The highlighting is quite simple as every type and class is highlighted as `keyword`. This is intentional as other token names (e.g. `class-name`, `function`, `builtin`, ...) are not highlighted by every theme resulting in large portions of unstyled text for some themes.
Michael Schmidt b9ec6fd8 2019-07-13T15:52:36 Markdown: Improved URLs (#1955) This fixes the known issue that inline styles (bold, italic, strike) break URLs. Inline styles are now properly highlighted inside URLs.
Michael Schmidt d58d2aeb 2019-07-13T15:41:07 F#: Improved character literals (#1956) This adds support for all F# character escapes which should result in all characters being highlighted as such. The problem was that character literals with escape sequences longer than two characters were not recognized.
Michael Schmidt 7bd08327 2019-07-13T13:42:13 JavaScript: Private fields (#1950) This adds support for private fields in both JS and JS Extras. [Proposal](https://github.com/tc39/proposal-class-fields#private-fields).
dovisutu 4a2c90c1 2019-07-11T22:05:49 Visual Basic: Added support for interpolation strings (#1971) This makes string like `$"Foo bar"` highlight with `$`.
Brice Aldrich 858201c7 2019-07-10T21:45:22 Added support for PascaLIGO (#1947) This adds support for the [PascaLIGO language](http://ligolang.org).
Michael Schmidt 473f7fbd 2019-07-03T12:34:20 Added support for PC-Axis file format (#1940) This adds a new language for the PC-Axis file format.
Michael Schmidt de10bd1d 2019-07-01T19:55:12 Protobuf improvements (#1948) This makes numerous improvements to the Protobuf grammar adding (almost) full support for PB2 and PB3 syntax.
RunDevelopment e2c56f04 2019-06-24T23:11:51 Resolved conflicts
Michael Schmidt 11903721 2019-06-24T22:44:18 Markdown: Added support for complexly nested bold and italic expressions Some Markdown expressions which are both bold and italic (e.g. `***abc***`) were not correctly matched until now. This solves this issue.
RunDevelopment 986c9de0 2019-06-24T15:43:49 More strike tests
RunDevelopment 235fce74 2019-06-24T14:47:41 Improved tests
Paul "LeoNerd" Evans 4a0ed18d 2019-06-14T16:13:46 Add new keyword to the keyword test file
RunDevelopment 0b48301e 2019-06-12T15:46:07 Resolved conflicts
Michael Schmidt 6f53f749 2019-06-12T15:31:52 Added support for $$ equations (#1916)
Michael Schmidt 3e181241 2019-06-12T15:28:44 Added more examples & small TOML improvement (#1917) This adds some of the missing examples and makes a small improvement to TOML.
dovisutu feb1b6f5 2019-06-12T19:34:29 Add the 'struct' keyword to Julia (#1941) Added to the key word list and updated tests.
Alice M 363281b3 2019-06-10T13:29:03 Bash improvements (#1443) A bunch for improvements for Bash.
Michael Schmidt c33cf459 2019-06-09T10:37:20 Resolved conflicts
Michael Schmidt 73d964be 2019-06-08T20:15:08 Added support for JQ language (#1896) This adds support for the JQ language.
dvdhansen 2141129f 2019-05-28T23:07:39 Julia: Highlight ‘Inf’ and ‘NaN’ as constants (#1921) This highlight `Inf`, `NaN` and all of their variants as constants.
dvdhansen feb3187f 2019-05-28T21:38:42 Julia: Add the ’in’ keyword (#1918) Added the missing `in` keyword.
Michael Schmidt 3de29e72 2019-05-28T14:23:02 C++: Fixed C++ number pattern (#1887)
RunDevelopment d4736f08 2019-05-28T14:14:05 Added support for $$ equations
Michael Schmidt 03cf85b0 2019-05-18T20:56:47 Added support for nested bold and italic tokens
Michael Schmidt 6068bf18 2019-05-18T17:57:47 JS: Added support for numeric separators (#1895) This adds support for JavaScript's new numeric separators. E.g. `123_456`.
RunDevelopment 96044979 2019-05-15T21:06:59 Added shell session language
Michael Schmidt f0a10669 2019-05-15T13:41:05 CSS: Extended `url` inside (#1874) This extends the highlighting of the CSS `url` pattern adding highlighting for punctuation and the `url` function.
Michael Schmidt 5e5a3e00 2019-05-12T14:14:03 CSS-Extras: Added `even` & `odd` keywords to `n-th` pattern (#1872) `even` and `odd` are keywords which are also an `n-th` value. This adds it to the pattern which previously only captured values of the form `an+b`.
Ralf Biedert 4faa3314 2019-05-07T20:09:47 Add async / await keywords for Rust. (#1882)
Michael Schmidt cbe05ec3 2019-04-23T20:52:47 JSON: Kinda fixed comment issue (#1853) This is a partial workaround for the greedy matching bug so that pure JSON will always be matched correctly while JSON + comments might suffer from some issues.
Michael Schmidt c13d6e7d 2019-04-19T22:07:57 JS: Template strings: Increased bracket count of interpolations (#1845) This increases the number of nested braces which can be matched by JS's template pattern to supported nested objects within interpolation expressions.
Michael Schmidt 9e164935 2019-04-19T21:56:52 Added support for `s` regex flag (#1846) This adds support for the ES2018 `s` (dotall) flag for regular expressions.
Michael Schmidt a42b1557 2019-04-07T13:29:46 Rust: Improved punctuation and operators (#1839) This improves Rust's existing punctuation and operators, adds support for new ones, and updates the tests.
Michael Schmidt 828d7ec0 2019-03-30T17:48:09 Added markdown tables
Michael Schmidt 191830f2 2019-03-24T20:06:42 Scheme: Minor improvements (#1814) Minor improvements for the Scheme language.
Michael Schmidt a91be7b2 2019-03-22T18:16:03 Apache config: Minor improvements + new keyword (#1823) This adds the `SSLSessionTickets` word to the list of inline directives and compresses current word lists.
Michal 30779976 2019-03-20T22:10:17 Added support for CMake language (#1820) This adds support for the [CMake](https://cmake.org/) language.
Michael Schmidt f2d8e1c7 2019-03-14T15:03:11 JS: Keyword fix (#1808) This fixes false positives with properties which have the same name as keywords.
Michael Schmidt 70a40414 2019-03-10T22:15:10 CSS extras: Highlighting for pseudo class arguments (#1650) This adds highlighting for pseudo class arguments, selector punctuation, and n-th expressions.
Michael Schmidt f2467488 2019-03-10T18:53:08 Django/Jinja2 improvements (#1800) This completely rewrites the Django language definition. It's now based on markup-templating.
Michael Schmidt af67c32e 2019-03-10T18:44:30 Markup `addInline` improvements (#1798) This makes some minor improvements to the new `addInline` function of markup.
Michael Schmidt b2298b12 2019-03-10T15:45:40 Added GraphQL improvements and tests (#1788) This makes some improvements to GraphQL and expands the existing tests.