aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/sh.vim
Commit message (Collapse)AuthorAgeFilesLines
* Remove boilerplate after/ftplugin load guardsTom Ryder2018-11-291-5/+0
| | | | | | | | I'm likely going to move away from Vim 6.0 support, at least for all of this filetype stuff. We will keep the one filetype load guard we actually need, which is the HTML one, to stop plugins like markdown.vim from loading it.
* Simplify ft=sh subtype flag clearingTom Ryder2018-11-291-8/+3
| | | | | | These flags are also set and examined by the stock syntax for the "sh" filetype, so checking for whether they're set at runtime for the ftplugin just confuses things. Just clear them unconditionally instead.
* Undo shell script dialect flags from filetype.vimTom Ryder2018-11-251-0/+10
| | | | | These local buffer variable flags weren't being cleared correctly on a filetype change.
* Add a commentTom Ryder2018-08-161-0/+1
|
* Check b:is_posix existence not valueTom Ryder2018-07-171-1/+2
|
* Add handling for older sh.vim syntax g:is_posixTom Ryder2018-07-171-0/+5
|
* Overhaul after/ftpluginTom Ryder2018-07-101-13/+6
| | | | | | Use .= operator to append to b:undo_ftplugin, as we're requiring Vim 7.0 or later everywhere here anyway. Also remove &compatible where we don't need line breaks.
* Clear b:current_compiler on unloadTom Ryder2018-07-091-0/+1
|
* Overhaul ftplugin check, lint, tidyTom Ryder2018-07-091-9/+12
| | | | | | | | | | | | - Set 'equalprg' for HTML and Perl - Discard filter#Stable() - Set default :compiler for all applicable filetypes - Change local leader mappings for Perl and shell script merely to set :compiler, rather than running it - Bind global leader mapping for running :lmake! - Bind global leader mappings for applying 'equalprg' and 'formatprg' to the whole buffer, using a new autoloaded helper function vimrc#Anchor() to avoid the cursor jumping around
* Overhaul base after-ftpluginsTom Ryder2018-07-081-12/+6
| | | | Mostly to simplify them--remove a lot of the load-guard cruft.
* Make Vim ftplugin preamble consistent with pluginsTom Ryder2018-07-011-1/+4
|
* Join some b:undo_ftplugin addendaTom Ryder2018-06-301-1/+1
|
* Refactor ftplugins into single filesTom Ryder2018-06-301-0/+46
| | | | Each thereby effectively becomes its own .vimrc for that type.
* Move vim/after/ftplugin files into vim/ftpluginTom Ryder2017-10-301-11/+0
| | | | | | | | | None of the settings in here need to be run after the core configuration files are loaded, so I'll put them in a slightly more accessible or logical place. This adds a new target `install-vim-ftplugin`, and makes that a prerequisite of the `install-vim` target.
* Still untangling the shell highlighting messTom Ryder2016-12-111-12/+6
|
* Disable sh error syntax highlighting for nowTom Ryder2016-12-111-0/+5
| | | | | Until I can figure out what's wrong with this syntax, or why the syntax highlighter thinks it's an error
* Set buffer type (not global type) for sh properlyTom Ryder2016-12-111-3/+6
|
* Make POSIX default for shell more specificTom Ryder2016-12-111-2/+4
|
* Reset most of my sh.vim customizationsTom Ryder2016-12-111-4/+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.
* Put dotfiles manuals into their own sectionTom Ryder2016-08-261-1/+1
| | | | This probably contains a few mistakes
* Assume POSIX shTom Ryder2016-08-201-0/+3
|
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Consistent quotingTom Ryder2015-10-211-1/+1
|
* Add han(1)Tom Ryder2015-05-211-0/+5
|
* Refine 'isk' setting in sh.vimTom Ryder2014-10-301-0/+4