zyedidia / micro

A modern and intuitive terminal-based text editor
https://micro-editor.github.io
MIT License
24.4k stars 1.16k forks source link

Improve crontab filetype detection #3222

Closed dmaluka closed 3 months ago

dmaluka commented 3 months ago

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