mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-17 06:20:28 +00:00
Improve crontab filetype detection (#3222)
Support crontab filetype detection in the case crontab is opened via sudoedit. Also apparently this fixes crontab filetype detection when it is opened normally via `crontab -e` but in MacOS. Fixes #3172
This commit is contained in:
parent
dc833d3552
commit
828871acdf
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
filetype: crontab
|
||||
|
||||
detect:
|
||||
filename: "crontab$"
|
||||
filename: "crontab$|/tmp/crontab\\.\\w+$"
|
||||
header: "^#.*?/etc/crontab"
|
||||
|
||||
rules:
|
||||
|
|
|
|||
Loading…
Reference in a new issue