From: Simon Ruderich Date: Sat, 7 Apr 2012 18:50:14 +0000 (+0200) Subject: vimrc: Add Shell syntax settings. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=9407c798a8c30697b538fdd06d620c1600f0410e;p=config%2Fdotfiles.git vimrc: Add Shell syntax settings. --- diff --git a/vimrc b/vimrc index 7716d8c..11ee374 100644 --- a/vimrc +++ b/vimrc @@ -559,6 +559,10 @@ if has('syntax') let g:perl_include_pod = 1 " syntax coloring for PODs " Python. let g:python_highlight_all = 1 + " Shell. + let g:sh_noisk = 1 " don't add . to 'iskeyword' + let g:sh_is_posix = 1 " POSIX shell (e.g. dash) is compatible enough + let g:sh_fold_enabled = 7 " functions (1), heredoc (2) and if/do/for (4) " Vim. let g:vimsyn_embed = 0 " don't highlight embedded languages let g:vimsyn_folding = 'af' " folding for autogroups (a) and functions (f)