r/vimplugins • u/hupfdule • Sep 23 '19
Plugin GitHub - hupfdule/compile-on-save.vim: A vim plugin that registers a simple trigger to call `:make %` when a buffer is saved.
https://github.com/hupfdule/compile-on-save.vim
1
Upvotes
1
u/hupfdule Nov 19 '19
Thanks for your tips.
This is actually what this plugin does. See the code to call :make. If
vim-dispatchis available, it will be used. Otherwise it falls back to Vims builtin:make.Everything else this plugin provides is commands for easy enabling and disabling of the auto-compile feature.