Chris Lamb wrote on Mon, Aug 15, 2016 at 11:26:42 +0100: > > better would be to wrap this as a proper ftplugin or plugin, > > if somebody steps up to figure out and write the needed glue code. > > Indeed.
Holger suggested on IRC that "the needed glue code" would be integration with vim-addon-manager. I believe :help new-filetype is the relevant upstream help topic. Cheers, Daniel