Vim inconsistently syntax highlighting bash files
vim already recognizes many file types by default. Most of them work by file extensions, but in a case like this, vim will also analyze the content of the file to guess the correct type. vim sets the filetype for specific file names like .bashrc, .tcshrc, etc. automatically. But a file with a .sh extension … Read more