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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user