Make sure to use bash syntax highlighting for SH

Needed for MacOS. This syntax highlighting isn't explicitly bash.
Certain POSIX shell features would break MacOS's sh highlighting
This commit is contained in:
Andrew R. M 2017-09-07 06:14:49 -04:00
parent 638c7e2f03
commit 7b4416edb4

View File

@ -35,6 +35,9 @@ set nocompatible
filetype plugin on
syntax on
" Ensure bash syntax highlighting is used for files with 'sh' filetype "
let g:is_bash=1
" Use two spaces instead of tabs "
" Can be overriden by ftplugin and sleuth "
set softtabstop=2