From 7b4416edb47e0d3c1cee3e0d9a19d4f5d40beaa8 Mon Sep 17 00:00:00 2001 From: "Andrew R. M" Date: Thu, 7 Sep 2017 06:14:49 -0400 Subject: [PATCH] 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 --- vim/.vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 33d9c63..221009f 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -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