aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/sh.vim
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange and better explain ksh syntax workaroundTom Ryder2017-10-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Move the rule setting the custom b:is_ksh variable used for this workaround (established in 52615f6) into an ftplugin file, rather than into ftdetect; the latter seems a much more appropriate place since by this point we've definitely decided the file type is "sh". From the revised comment in this changeset: >Setting g:is_posix above also prompts Vim's core syntax/sh.vim script >to set g:is_kornshell and thereby b:is_kornshell to the same value as >g:is_posix. > >That's very confusing, so before it happens we'll copy b:is_kornshell's >value as determined by filetype.vim and ~/.vim/ftdetect/sh.vim into a >custom variable b:is_ksh, before its meaning gets confused. > >b:is_ksh as a name is more inline with b:is_bash and b:is_sh, anyway, >so we'll just treat b:is_kornshell like it's both misnamed and broken. > >We can then switch on our custom variable in ~/.vim/after/syntax/sh.vim >to apply settings that actually *are* unique to Korn shell and its >derivatives.
* Correct a path in vim/after/syntax/sh.vimTom Ryder2017-10-301-3/+2
| | | | | This and the other files in the now-removed vim/after/ftdetect directory were moved to vim/ftdetect in f8af47b.
* Still untangling the shell highlighting messTom Ryder2016-12-111-0/+98
|
* Reset most of my sh.vim customizationsTom Ryder2016-12-111-77/+0
| | | | | | 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.
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Add a few missing Bash keywordsTom Ryder2015-06-041-0/+3
|
* Exclude some builtins I added to sh.vimTom Ryder2014-10-301-6/+3
| | | | | Refine previous commit a little to restore some of the weirdness I actually do like
* Fix a few more annoyances in sh.vim syntaxTom Ryder2014-10-301-0/+68
|
* Fix simpleDeRef in sh.vimTom Ryder2014-10-301-0/+10