aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/sh.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:48:42 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:48:42 +1300
commit0ec73d6242582783ae1a9d457dfe04a5bc852199 (patch)
tree1eb9a1ed2320e5ecdd2cf49659c59f241f2d28a7 /vim/after/ftplugin/sh.vim
parentSet whitespace options for VimL locally (diff)
downloaddotfiles-0ec73d6242582783ae1a9d457dfe04a5bc852199.tar.gz
dotfiles-0ec73d6242582783ae1a9d457dfe04a5bc852199.zip
Move vim/after/ftplugin files into vim/ftplugin
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.
Diffstat (limited to 'vim/after/ftplugin/sh.vim')
-rw-r--r--vim/after/ftplugin/sh.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim
deleted file mode 100644
index 2b73611e..00000000
--- a/vim/after/ftplugin/sh.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-" Default to POSIX shell, as I never write Bourne, and if I write Bash or Ksh
-" it'll be denoted with either a shebang or an appropriate extension. At the
-" time of writing, changing this also prompts sh.vim to set g:is_kornshell,
-" which is absurd, and requires a bit more massaging in after/syntax/sh.vim to
-" turn off some unwanted stuff.
-let g:is_posix = 1
-
-" Use han(1df) as a man(1) wrapper for Bash files if available
-if exists('b:is_bash') && executable('han')
- setlocal keywordprg=han
-endif