2004-06-13 20:20:40 +00:00
|
|
|
" Vim plugin for converting a syntax highlighted file to HTML.
|
|
|
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
2010-07-11 22:38:52 +02:00
|
|
|
" Last Change: 2010 Jul 11
|
|
|
|
"
|
|
|
|
" The core of the code is in $VIMRUNTIME/autoload/tohtml.vim
|
|
|
|
|
|
|
|
" Define the :TOhtml command when:
|
|
|
|
" - 'compatible' is not set
|
|
|
|
" - this plugin was not already loaded
|
|
|
|
" - user commands are available.
|
2004-06-13 20:20:40 +00:00
|
|
|
if !&cp && !exists(":TOhtml") && has("user_commands")
|
2010-07-11 22:38:52 +02:00
|
|
|
command -range=% TOhtml :call tohtml#Convert2HTML(<line1>, <line2>)
|
2004-06-13 20:20:40 +00:00
|
|
|
endif
|