aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlua
AgeCommit message (Collapse)AuthorFilesLines
2020-03-29lexlua: Fixed incorrect grammar building for lexers that embed themselves.mitchell1-1/+2
When there is no initial '*_whitespace' style, child lexers should prefer their parent's grammar rather than their own.
2020-03-28Switch to 1-based style numbers internally in Lua.mitchell1-57/+54
2020-03-26Switch to 1-based indices in Lua.mitchell1-11/+11
The only external, 3rd party lexers that would be affected are those implementing their own fold functions.
2020-03-06More LexLPeg refactoring, including a safer Lua state.mitchell1-24/+22
Do not load either `io` (Lua 5.1) or `package` modules and updated lexer.lua functions to utilize safer versions of `require()` and `package.searchpath()`. Also support ';'-separated paths for lexers via existing `lexer.lpeg.home` property or new SCI_LOADLEXERLIBRARY API. Refactor to use property constants and class methods for property setting.
2020-01-07lexlua: Removed unnecessary `lpeg.B()` in Rust lexer.mitchell1-2/+2
Rule order makes it such that the 'r#' prefix will never happen prior to a keyword.
2020-01-04Always use string property values in lexlua themes.mitchell3-6/+6
2019-12-31Updated copyright year for lexlua-specific bits of LongTerm3.mitchell130-130/+130
2019-12-28lexlua: Added txt2tags lexer.mitchell1-0/+196
Thanks to Julien L.
2019-10-12lexlua: Prevent double-counting of fold points on a single line.mitchell1-1/+1
If a fold word appears more than once on a line, ensure that each occurrence satisfies the fold point criteria, rather than just one of them.
2019-10-12lexlua: Added MediaWiki lexer.mitchell1-0/+58
Thanks to Alexander Misel.
2019-09-20lexlua: Removed `print()` statement in updated prolog lexer.mitchell1-2/+0
2019-09-20lexlua: More updates to logtalk and prolog lexers.mitchell2-138/+390
Thanks to Michael Richter.
2019-09-20lexlua: C lexer recognizes indented preprocessor words.mitchell1-5/+2
2019-09-20lexlua: Updated Rust lexer.mitchell1-21/+49
Thanks to Gabriel Bertilson.
2019-09-17Updated Prolog and Logtalk lexers.mitchell2-17/+28
Thanks to Michael Richter.
2019-06-04lexlua: Support single quotes in C++14 integer literals.mitchell1-1/+5
2019-06-02lexlua: Updated Markdown lexer.mitchell1-6/+24
Thanks to Alexander Misel.
2019-04-08lexlua: Fixed rule order in YAML lexer.mitchell1-1/+1
2019-04-08lexlua: Fixed lack of highlighting strings in YAML.mitchell1-0/+1
2019-03-27lexlua: Added support for CSS 3.mitchell1-2/+9
2019-02-16Updated copyright year.mitchell129-129/+129
2019-01-31Updated dmd lexer.mitchell1-4/+3
Thanks to Jonathon Levi.
2019-01-31Do not match '..' on the trailing end of floats.mitchell1-1/+2
2018-11-25lexlua: Updated ConTeXt Lua lexer with proper diff.mitchell1-10/+14
2018-11-25lexlua: Updated ConTeXt lexer.mitchell1-15/+19
Thanks to Lars Otter.
2018-10-24lexlua: Fixed typo in a previous commit to lexer.lua.mitchell1-1/+1
2018-10-24lexlua: Updated Markdown lexer.mitchell1-8/+13
Thanks to Alexander Misel.
2018-10-24lexlua: Tweaked newline pattern to be more syntactically accurate.mitchell1-2/+2
2018-10-12lexlua: Improved HTML folding of traditionally single elements.mitchell1-15/+25
Before, elements were only folded if they were XHTML valid.
2018-10-07lexlua: Handle CR+LF in horizontal rules for Markdown.mitchell1-2/+2
2018-08-10lexlua: Updated ConTeXt lexer.mitchell1-2/+6
2018-06-16Fixed incorrect highlighting of indented markdown lists.mitchell1-5/+5
They were being identified as blockcode.
2018-06-12Fixed child lexers that embed themselves into parents and fixed proxy lexers.mitchell1-6/+8
Since the _NAME field of the parent lexer was changed, embedded child references to it are no longer valid. Keep a copy of the parent name for reference.
2018-06-05Handle legacy lexer "_fold" functions.mitchell1-0/+2
2018-04-07lexlua: Added 'var' keyword for C#.mitchell1-1/+1
2018-03-26Removed unwanted files in lexlua/.rel-3-8-0mitchell4-2149/+0
2018-03-11Added optional Lua lexer support.mitchell134-0/+13607
This support is disabled by default and must be enabled via compile-time option.