From 9407c798a8c30697b538fdd06d620c1600f0410e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 7 Apr 2012 20:50:14 +0200 Subject: [PATCH] vimrc: Add Shell syntax settings. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.44.1