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:
parent
638c7e2f03
commit
7b4416edb4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user