Skip to content

Valid filetypes are hard to discover #2410

@harristom

Description

@harristom

I opened a config file and wanted to set the filetype to get some syntax highlighting. I tried "set filetype sh" which didn't work, but "set filetype shell" did (I had expected that using a valid file extension would do it). I couldn't find a list of valid filetypes in the documentation, and tab completion didn't work on this command to provide a list of valid options in the way it does when setting a colorscheme.

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