xref: /vim-8.2.3635/runtime/plugin/tohtml.vim (revision b02cbe34)
1" Vim plugin for converting a syntax highlighted file to HTML.
2" Maintainer: Bram Moolenaar <[email protected]>
3" Last Change: 2010 Jul 11
4"
5" The core of the code is in $VIMRUNTIME/autoload/tohtml.vim
6
7" Define the :TOhtml command when:
8" - 'compatible' is not set
9" - this plugin was not already loaded
10" - user commands are available.
11if !&cp && !exists(":TOhtml") && has("user_commands")
12  command -range=% TOhtml :call tohtml#Convert2HTML(<line1>, <line2>)
13endif
14