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.
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.