Automatically re-run :FindHookFiles when a hook file has been edited
ahw opened this issue · comments
Listen for BufWritePost
on buffers that have "vimhook" in the name. Or check some sort of modified
flag or something like that. Super naive but easy way is just run :FindVimHooks
whenever the :ListVimHooks
window is closed.
Could also leverage filetype settings: http://stackoverflow.com/questions/2601403/multiple-file-types-in-vim.