Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2023. | Matthäus G. Chajdas | 2023-03-29 | 1 | -1/+1 |
| | |||||
* | bash/tcsh: move "break" to keywords (#2377) | Georg Brandl | 2023-03-15 | 1 | -4/+4 |
| | | | Fixes #2374 | ||||
* | Improve bash math expansion lexing (#2353) | Richard van Velzen | 2023-02-24 | 1 | -2/+4 |
| | |||||
* | Improve whitespace handling in Make/BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -1/+1 |
| | |||||
* | Improve whitespace handling in the BashLexer. | Matthäus G. Chajdas | 2022-12-04 | 1 | -4/+4 |
| | |||||
* | shell session: allow continuation without marker for PowerShell | Georg Brandl | 2022-10-28 | 1 | -4/+12 |
| | | | | Fixes #2262 | ||||
* | all: move often-used "line_re" to pygments.lexer | Georg Brandl | 2022-10-27 | 1 | -3/+1 |
| | |||||
* | all: style fixes | Georg Brandl | 2022-10-27 | 1 | -1/+0 |
| | |||||
* | add local: to powershell keywords (#2254) | grzyb0w | 2022-10-16 | 1 | -1/+1 |
| | | | Co-authored-by: chsh <chuanshu@sheasecurity.com> | ||||
* | Happy new year. | Georg Brandl | 2022-01-25 | 1 | -1/+1 |
| | |||||
* | Add kshrc to the shell lexer | Eigil Skjæveland | 2021-11-07 | 1 | -0/+1 |
| | |||||
* | Add `pwsh` alias for “PowerShell” lexers (#1876) | ExE Boss | 2021-08-15 | 1 | -2/+2 |
| | |||||
* | Correctly highlight multiline console input, even without PS2 prompt (#1833) | Jesse Tan | 2021-06-04 | 1 | -4/+7 |
| | |||||
* | uniformize aliases order (#1780) | Mestery | 2021-04-26 | 1 | -1/+1 |
| | | | | | * uniformize aliases order * LighttpdConfLexer: add lighttpd.conf filename | ||||
* | PowerShell: lex ':' (#1758) | amitkummer | 2021-03-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of https://github.com/mathiasertl/pygments into ↵ | Matthäus G. Chajdas | 2021-01-30 | 1 | -6/+2 |
|\ | | | | | | | | | | | | | | | | | mathiasertl-master Resolve conflicts, move tests to snippets, regenerate example files. # Conflicts: # tests/test_shell.py | ||||
| * | only print PS2 prompt if backslash continuation is enabled | Mathias Ertl | 2021-01-10 | 1 | -5/+1 |
| | | |||||
| * | make PS2 contain a space | Mathias Ertl | 2021-01-10 | 1 | -1/+1 |
| | | |||||
* | | Run pyupgrade across codebase to modernize syntax and patterns (#1622) | Jon Dufresne | 2021-01-17 | 1 | -1/+0 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com> | ||||
* | Bump copyright year. | Matthäus G. Chajdas | 2021-01-03 | 1 | -1/+1 |
| | |||||
* | Fix #1652. | Matthäus G. Chajdas | 2020-12-29 | 1 | -1/+1 |
| | | | | in is a keyword in Bash, ZSH, and KSH. | ||||
* | consider trailing whitespace a part of the prompt, making copy/paste more ↵ | Mathias Ertl | 2020-12-25 | 1 | -1/+1 |
| | | | | straight forward | ||||
* | shell: improve docstrings for the "session" type lexers | Georg Brandl | 2020-11-11 | 1 | -5/+10 |
| | | | | fixes #1599 | ||||
* | all: fixup remaining regexlint warnings | Georg Brandl | 2020-09-06 | 1 | -18/+18 |
| | |||||
* | Update copyright year (fixes #1514.) | Matthäus G. Chajdas | 2020-08-22 | 1 | -1/+1 |
| | |||||
* | Manually merge PR#1497. | Matthäus G. Chajdas | 2020-08-22 | 1 | -3/+2 |
| | | | | | This is a manual merge as we don't want to pull in the documentation change as part of this fix for a cleaner history. | ||||
* | Add support for PowerShell Remoting sessions (#1398) | Geert Smelt | 2020-06-30 | 1 | -1/+1 |
| | | | | | | | | | | | * Add support for PowerShell Remoting sessions * Add test case for PowerShell Remoting sessions * Make whitespace after prompt optional * Fix test case containing backslashes * Add test case for local PowerShell sessions | ||||
* | Add execline lexer (#1393) | Molly Miller | 2020-04-10 | 1 | -1/+62 |
| | | | | | | | | | | | | | | | | | * Implement lexer for execline. This commit introduces a lexer for Laurent Bercot's execline scripting language (https://skarnet.org/software/execline) based on Pygments' existing bash lexer, with some minor adaptations for execline's variable naming rules. * Add versionadded note and website link to execline lexer. * Add execline to languages.rst and example execline script * Explicitly mark non-special characters in execline lexer as Text * Correct execline lexer version addded Co-authored-by: Molly Miller <sysvinit@users.noreply.github.com> | ||||
* | Fix #1253. | Matthäus G. Chajdas | 2019-11-25 | 1 | -7/+23 |
| | |||||
* | Fixup all headers and some more minor problems.2.4.2 | Georg Brandl | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | Merged in hroncok/pygments-main/doscon_prompt (pull request #734) | Anteru | 2019-05-09 | 1 | -1/+1 |
|\ | | | | | | | Recognize single > as a prompt in doscon | ||||
| * | Recognize single > as a prompt in doscon | Miro Hron?ok | 2017-09-22 | 1 | -1/+1 |
| | | | | | | | | Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1380/lexer-for-cmdexe-interactive-session-with | ||||
* | | Fix #1494. | Matth?us G. Chajdas | 2019-03-06 | 1 | -1/+1 |
| | | | | | | | | | | This fixes the catastrophic backtracking which previously occured for strings like "\057hom\145/e2\071501\057pub\154ic_\150tml\057a | ||||
* | | Small cleanups to the Slurm lexer. | Matth?us G. Chajdas | 2018-12-21 | 1 | -2/+4 |
| | | | | | | | | Remove debug output, add a test file for the Slurm lexer. | ||||
* | | Merged in bgcook/pygments-main (pull request #760) | Anteru | 2018-12-21 | 1 | -8/+25 |
|\ \ | | | | | | | | | | add Slurm script parser | ||||
| * \ | Merged in witchard/pygments-main (pull request #706) | Anteru | 2018-12-17 | 1 | -1/+1 |
| |\ \ | | | | | | | | | | | | | Added support for text/x-shellscript mime type. | ||||
| | * | | Added support for text/x-shellscript mime type. Fixes #1332. | witchard | 2017-02-18 | 1 | -1/+1 |
| | |/ | |||||
| * | | Fix PowerShellLexer defining built-in aliases incorrectly. | Matth?us G. Chajdas | 2018-12-16 | 1 | -2/+2 |
| | | | |||||
| * | | Add verbs from PS v5.1 | Chris Duck | 2017-02-11 | 1 | -7/+11 |
| | | | | | | | | | | | | | | | | | | Adds the following verbs: approve, assert, backup, block, close, compress, confirm, deny, dismount, edit, find, grant, hide, initialize, install, lock, merge, mount, open, optimize, protect, publish, redo, repair, request, revoke, save, search, step, submit, switch, sync, unblock, uninstall, unlock, unprotect, unpublish, watch | ||||
| * | | Add built-in aliases to PowerShellLexer | Chris Duck | 2017-02-11 | 1 | -0/+13 |
| |/ | |||||
* | | added Slurm script parser | Brandon Cook | 2018-05-11 | 1 | -1/+21 |
|/ | |||||
* | all: run regexlint, add a few more changelog entries | Georg Brandl | 2017-01-22 | 1 | -1/+1 |
| | |||||
* | Merged in belak/pygments-main/lexers-shell-zsh-files (pull request #654) | Georg Brandl | 2017-01-22 | 1 | -4/+5 |
|\ | | | | | | | Highlight zsh files using the BashLexer | ||||
| * | Highlight zsh files using the BashLexer | Kaleb Elwert | 2016-08-18 | 1 | -4/+5 |
| | | |||||
* | | Merged in dscorbett/pygments-batch (pull request #620) | Georg Brandl | 2017-01-22 | 1 | -4/+7 |
|\ \ | | | | | | | | | | Fix Batch variables after IF | ||||
| * | | Fix Batch variables after IF | David Corbett | 2016-07-13 | 1 | -4/+7 |
| |/ | |||||
| * | Only += is an operator | Camil Staps | 2016-06-16 | 1 | -3/+1 |
| | | |||||
| * | Fixes #1246 | Camil Staps | 2016-06-16 | 1 | -0/+2 |
| | | |||||
| * | Add backslash-continuation support to console lexer. | Tim Hatch | 2016-06-01 | 1 | -1/+7 |
| | | | | | | | | Fixes #1237 | ||||
| * | Improve number highlighting in bash. | Tim Hatch | 2016-06-01 | 1 | -1/+1 |
| | | | | | | | | Fixes #1244 |