Skip to content

Syntax highlighting in crontab, ssh_config/sshd_config, and other files #2013

@kraaw

Description

@kraaw

crontab
sshd_config
Hi, as you can see above, the crontab syntax highlighting is not registering because when i run crontab -e to edit my crontab file, the directory is /tmp/crontab.* instead of the one specified here.

As for editing ssh_config & sshd_config in /etc/ssh/, could you implement syntax highlighting like in vim:
vim_sshd_config

Also would it be possible to provide syntax highlighting for all files starting with # symbols for comments? (for all ft:unknown) Here i made a file called ~/repos/hi with no file extension. In vim the syntax highlighting for comments is like so:
comment

Commit hash: cfcb2e4 (same on ba98b55)
OS: Linux - Garuda Gnome
Terminal: gnome-terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions