Releases: vitalk/vim-shebang
Releases · vitalk/vim-shebang
Support optional `pre_hook` command
-
Add support of custom (and optional)
pre_hook
command while defining shebang patterns. This hook allow to execute user-defined command when pattern match found (#1). Thanks to @orybandAddShebangPattern sh ^#!/bin/sh let\ g:is_sh=1
-
Set/unset the
b:is_sh
andb:is_bash
variables according with shebang pattern, e.g. switching between multiple bash and sh buffers change syntax highlighting appropriately.