| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
Implement guessing and resolution between TypeScript and TypoScript.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These values would trigger problems when guessing content without a filename,
and really aren't needed. They've been removed, allowing the standard behavior
to take place.
On top of this, the regex for TypeScript has been slightly altered to include
a whitespace match after "export" to be within the group for the "export"
text.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new TypoScript lexer was taking precedence over TypeScript, which share
the same file extension. This meant that any previously-working TypeScript
source files would be misidentified and highlighted incorrectly. This was due
to the lack of a guesser for TypeScript, and TypoScript having a naturally
higher priority.
This change balances things a bit between the lexers. TypoScript now has an
explicitly-higher priority than TypeScript, both for the file extension and
defaults when guessing content, as it has less we can rely on in terms of
content. TypeScript has a lower priority, but has an analyse_text() method
that checks for common symbols in code, giving it a better chance of matching
for actual TypeScript source files.
TypeScript also gains an additional file extension, *.tsx. Ideally, this would
have its own lexer that understood inline JSX syntax, but giving general
TypeScript syntax highlighting for these files is a step in the right
direction.
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
Custom Lexer/Formatter File Loading
|
| |\ \
| | | |
| | | |
| | | | |
update LassoLexer
|
| | |\ \
| | | | |
| | | | |
| | | | | |
add 'nginx.conf' to NginxConfLexer
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | | |
Revised version of ncl.py
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
add some punctuation
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
some punctuations have added
|
| | | |\ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | |\ \ \ \ |
|
| | | | | | | | |
|
| | | |\ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Fix Perl5 lexer for namespaces/modules.
|
| | | | |\ \ \ \ \
| | | | | |/ / / /
| | | | |/| | | |
| | | | | | | | | |
LLVMLexer: added 58 keywords and 'token' type to match LLVM 4.0 (Issue #1263)
|
| | | | | | | | | |
|
| | | | |\ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Abap fixes
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | | | | | | | |
|
| | | | |\ \ \ \ \ \
| | | | | |_|_|/ / /
| | | | |/| | | | |
| | | | | | | | | | |
Add support for string literals to TypeScriptLexer.
|
| | | | | | |_|_|/
| | | | | |/| | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This introduces support for string literals to the TypeScript lexer. The rules
are consistent with those in JavascriptLexer, helping to ensure the same
behavior and capabilities between the two.
|
| | | | |\ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Fix bug in Chapel lexer
|
| | | | | |\ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Highlight zsh files using the BashLexer
|
| | | | | | | |_|/ /
| | | | | | |/| | | |
|
| | | | | |\ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Match .dpr files as Delphi
|
| | | | | | |\ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
devoncarew1/pygments-main/devoncarew1/javascriptpy-edited-online-with-bitbucke-1472355033252 (pull request #657)
javascript.py edited online with Bitbucket
|
| | | | | | | | |_|/ /
| | | | | | | |/| | | |
|
| | | | | | | | | | | |
|
| | | | | | |\ \ \ \ \ |
|
| | | | | | | |/ / / /
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
These changes add parsing for (and thus highlighting for) non-stdlib types and
the '&' symbol for borrows.
|
| | | | | | |\ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Fix Batch variables after IF
|
| | | | | | | | |/ / /
| | | | | | | |/| | | |
|
| | | | | | |\ \ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Changed find_lexer_class_for_filename() to return same lexer between Python invocations
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|
| | | | | | | | |_|/ /
| | | | | | | |/| | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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.
|
| | | | | | | |\ \ \ \
| | | | | | | | | | | |
| | | | | | | | | | | |
| | | | | | | | | | | | |
Add map support to ProtoBufLexer
|
| | | | | | | | |\ \ \ \
| | | | | | | | | | | | |
| | | | | | | | | | | | |
| | | | | | | | | | | | | |
JavaScript/ES2015 fixes
|
| | | | | | | | | | |/ /
| | | | | | | | | |/| |
| | | | | | | | | | | |
| | | | | | | | | | | | |
punctuation and add new es2015 regex flags (sticky and unicode)
|
| | | | | | | | | | | | |
|
| | | | | | | | | | | | |
|