mirror of
https://github.com/sharkdp/bat
synced 2024-11-16 21:25:56 +00:00
commit
4e491c4594
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -251,3 +251,6 @@
|
|||||||
path = assets/syntaxes/02_Extra/Ada
|
path = assets/syntaxes/02_Extra/Ada
|
||||||
url = https://github.com/wiremoons/ada-sublime-syntax
|
url = https://github.com/wiremoons/ada-sublime-syntax
|
||||||
|
|
||||||
|
[submodule "assets/syntaxes/02_Extra/Crontab"]
|
||||||
|
path = assets/syntaxes/02_Extra/Crontab
|
||||||
|
url = https://github.com/michaelblyons/SublimeSyntax-Crontab
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
- Associate `pdm.lock` with `TOML` syntax, see #2410
|
- Associate `pdm.lock` with `TOML` syntax, see #2410
|
||||||
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see #2411
|
- `Todo.txt`: Fix highlighting of contexts and projects at beginning of done.txt, see #2411
|
||||||
- `cmd-help`: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)
|
- `cmd-help`: overhaul scope names (colors) to improve theme support; misc syntax improvements. See #2419 (@victor-gp)
|
||||||
|
- Added support for Crontab, see #2509 (@keith-hall)
|
||||||
|
|
||||||
## Themes
|
## Themes
|
||||||
|
|
||||||
|
1
assets/syntaxes/02_Extra/Crontab
vendored
Submodule
1
assets/syntaxes/02_Extra/Crontab
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 54f1fa7ff0c9d18aea3790555dba6e533ce3749b
|
8
tests/syntax-tests/highlighted/Crontab/crontab.tab
vendored
Normal file
8
tests/syntax-tests/highlighted/Crontab/crontab.tab
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[38;2;190;132;255m0[0m[38;2;248;248;242m [0m[38;2;190;132;255m2[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;255;255;255m/bin/sh[0m[38;2;255;255;255m backup.sh[0m
|
||||||
|
[38;2;190;132;255m*[0m[38;2;248;248;242m/[0m[38;2;190;132;255m10[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;255;255;255m/home/maverick/check-disk-space[0m
|
||||||
|
[38;2;190;132;255m0[0m[38;2;248;248;242m [0m[38;2;190;132;255m5[0m[38;2;248;248;242m,[0m[38;2;190;132;255m17[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;255;255;255m/scripts/script.sh[0m
|
||||||
|
[38;2;190;132;255m0[0m[38;2;248;248;242m [0m[38;2;190;132;255m2[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;190;132;255m*[0m[38;2;248;248;242m [0m[38;2;102;217;239msun[0m[38;2;248;248;242m [0m[38;2;102;217;239m[[0m[38;2;255;255;255m [0m[38;2;255;255;255m$[0m[38;2;255;255;255m([0m[38;2;255;255;255mdate[0m[38;2;255;255;255m +[0m[38;2;255;255;255m%[0m[38;2;255;255;255md[0m[38;2;255;255;255m)[0m[38;2;255;255;255m [0m[3;38;2;253;151;31m-[0m[3;38;2;253;151;31mle[0m[38;2;255;255;255m 07 [0m[38;2;102;217;239m][0m[38;2;255;255;255m [0m[38;2;249;38;114m&&[0m[38;2;255;255;255m [0m[38;2;255;255;255m/script/script.sh[0m
|
||||||
|
[38;2;255;255;255m@[0m[38;2;190;132;255mdaily[0m[38;2;248;248;242m [0m[38;2;255;255;255m/scripts/script.sh[0m
|
||||||
|
[38;2;255;255;255m@[0m[38;2;190;132;255mreboot[0m[38;2;248;248;242m [0m[38;2;255;255;255m/scripts/script.sh[0m
|
||||||
|
|
||||||
|
[38;2;255;255;255mMAIL[0m[38;2;249;38;114m=[0m[38;2;230;219;116mbob[0m
|
8
tests/syntax-tests/source/Crontab/crontab.tab
vendored
Normal file
8
tests/syntax-tests/source/Crontab/crontab.tab
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
0 2 * * * /bin/sh backup.sh
|
||||||
|
*/10 * * * * /home/maverick/check-disk-space
|
||||||
|
0 5,17 * * * /scripts/script.sh
|
||||||
|
0 2 * * sun [ $(date +%d) -le 07 ] && /script/script.sh
|
||||||
|
@daily /scripts/script.sh
|
||||||
|
@reboot /scripts/script.sh
|
||||||
|
|
||||||
|
MAIL=bob
|
Loading…
Reference in New Issue
Block a user