diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-11 13:23:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-11 13:23:00 +1300 |
commit | 0fb1d4290d36a5aa47689b0fbcc8f8901164311b (patch) | |
tree | f121f2fc050c1cbe9358f086497a9670023babfd /vim/after | |
parent | Add COOL->KRIEG to kvlt(6df) (diff) | |
download | dotfiles-0fb1d4290d36a5aa47689b0fbcc8f8901164311b.tar.gz dotfiles-0fb1d4290d36a5aa47689b0fbcc8f8901164311b.zip |
Reset most of my sh.vim customizations
There's been a lot of work done to sh.vim since these customisations
were made, and I can't remember why I made some of them. I'll work
without them for a while and reapply any of them if needed.
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/ftplugin/sh.vim | 4 | ||||
-rw-r--r-- | vim/after/syntax/sh.vim | 77 |
2 files changed, 0 insertions, 81 deletions
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim index 96ad8e6d..b6e5d2f6 100644 --- a/vim/after/ftplugin/sh.vim +++ b/vim/after/ftplugin/sh.vim @@ -1,7 +1,3 @@ -" Include slashes as part of 'isk' so that e.g. 'local' in '/usr/local/mysql' -" doesn't highlight -let g:sh_isk='@,48-57,_,192-255,.,/' - " Assume POSIX, I never write Bourne let g:is_posix=1 diff --git a/vim/after/syntax/sh.vim b/vim/after/syntax/sh.vim deleted file mode 100644 index 37ad8518..00000000 --- a/vim/after/syntax/sh.vim +++ /dev/null @@ -1,77 +0,0 @@ -" shDerefSimple in sh.vim is not quite right, so let's fix it up -syntax clear shDerefSimple - -" $var, $VAR, $var_new, $_var, $var1 ... -syntax match shDerefSimple '\$\h[a-zA-Z0-9_]*' -" $0, $1, $2 ... -syntax match shDerefSimple '\$\d' -" $-, $#, $* ... -syntax match shDerefSimple '\$[-#*@!?$]' - -" Trust me to get my dereferencing right -syntax clear shDerefWordError - -" I don't like having 'restart', 'start" etc highlighted -syntax clear bashAdminStatement - -" Limit bashStatement only to alphanumeric shell builtins, except for the ones -" that declare variables (declare, typeset, local, export, unset) as they're -" used in shSetList -syntax clear bashStatement -syntax keyword bashStatement - \ alias - \ bg - \ bind - \ break - \ builtin - \ caller - \ cd - \ command - \ compgen - \ complete - \ compopt - \ continue - \ coproc - \ dirs - \ disown - \ echo - \ enable - \ eval - \ exec - \ exit - \ false - \ fc - \ fg - \ function - \ getopts - \ hash - \ help - \ history - \ jobs - \ kill - \ let - \ logout - \ mapfile - \ popd - \ printf - \ pushd - \ pwd - \ read - \ readarray - \ readonly - \ return - \ set - \ shift - \ shopt - \ source - \ suspend - \ test - \ time - \ times - \ trap - \ true - \ type - \ ulimit - \ umask - \ unalias - \ wait |