aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-11 13:23:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-11 13:23:00 +1300
commit0fb1d4290d36a5aa47689b0fbcc8f8901164311b (patch)
treef121f2fc050c1cbe9358f086497a9670023babfd /vim/after/syntax
parentAdd COOL->KRIEG to kvlt(6df) (diff)
downloaddotfiles-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/syntax')
-rw-r--r--vim/after/syntax/sh.vim77
1 files changed, 0 insertions, 77 deletions
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