1" Vim plugin for converting a syntax highlighted file to HTML. 2" Maintainer: Ben Fritz <[email protected]> 3" Last Change: 2010 Jul 15 4" 5" The core of the code is in $VIMRUNTIME/autoload/tohtml.vim and 6" $VIMRUNTIME/syntax/2html.vim 7 8" Define the :TOhtml command when: 9" - 'compatible' is not set 10" - this plugin was not already loaded 11" - user commands are available. 12if !&cp && !exists(":TOhtml") && has("user_commands") 13 command -range=% TOhtml :call tohtml#Convert2HTML(<line1>, <line2>) 14endif 15 16" Make sure any patches will probably use consistent indent 17" vim: ts=2 sw=2 sts=2 et 18