after/ftplugin/sh.vim
¶
Enforce vim script implementation to reduce ambiguities and improve robustness:
scriptversion 4
Add on-hover command definitions:
if has('gui_running')
command! -buffer CommandBalloon
\ setlocal balloonexpr=display#command_balloon('whatis')
endif
See also
Note
This isn’t set as the global default as ale provides a nice general balloon interface. However, when dipping in to a shell script on an unusual system this can be useful.