blob: a764b229951b1125638f55b436b409aee740102e [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim plugin for converting a syntax highlighted file to HTML.
2" Maintainer: Bram Moolenaar <Bram@vim.org>
Bram Moolenaarb02cbe32010-07-11 22:38:52 +02003" Last Change: 2010 Jul 11
4"
5" The core of the code is in $VIMRUNTIME/autoload/tohtml.vim
Bram Moolenaar071d4272004-06-13 20:20:40 +00006
Bram Moolenaarb02cbe32010-07-11 22:38:52 +02007" Define the :TOhtml command when:
8" - 'compatible' is not set
9" - this plugin was not already loaded
10" - user commands are available.
Bram Moolenaar071d4272004-06-13 20:20:40 +000011if !&cp && !exists(":TOhtml") && has("user_commands")
Bram Moolenaarb02cbe32010-07-11 22:38:52 +020012 command -range=% TOhtml :call tohtml#Convert2HTML(<line1>, <line2>)
Bram Moolenaar071d4272004-06-13 20:20:40 +000013endif