summaryrefslogtreecommitdiff
path: root/runtime/plugin
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-05 21:54:00 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-05 21:54:00 +0200
commit076e8b2a0b746d0b23cc90a03a2cb3f828538680 (patch)
tree41657f0d465d50f69bdc9790a971089355b000ea /runtime/plugin
parent84f888a5b3640dffdff1ecd1e19e4ba6aa3ed6af (diff)
downloadvim-git-076e8b2a0b746d0b23cc90a03a2cb3f828538680.tar.gz
Improve handling of user settings in :TOhtml. Default to generating CSS.
(Benjamin Fritz)
Diffstat (limited to 'runtime/plugin')
-rw-r--r--runtime/plugin/tohtml.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/plugin/tohtml.vim b/runtime/plugin/tohtml.vim
index 5ef59ca5a..df7289516 100644
--- a/runtime/plugin/tohtml.vim
+++ b/runtime/plugin/tohtml.vim
@@ -1,22 +1,24 @@
" Vim plugin for converting a syntax highlighted file to HTML.
" Maintainer: Ben Fritz <fritzophrenic@gmail.com>
-" Last Change: 2010 Jul 28
+" Last Change: 2010 Aug 02
"
" The core of the code is in $VIMRUNTIME/autoload/tohtml.vim and
" $VIMRUNTIME/syntax/2html.vim
"
" TODO:
+" * Bug: error thrown when nowrapscan is set
" * Diff mode with xhtml gives invalid markup
" * Diff mode does not determine encoding
" * Line number column has one character too few on empty lines
" without CSS.
" * Add extra meta info (generation time, etc.)
+" * Fix strict doctype for other options?
" * TODO comments for code cleanup scattered throughout
if exists('g:loaded_2html_plugin')
finish
endif
-let g:loaded_2html_plugin = 'vim7.3_v2'
+let g:loaded_2html_plugin = 'vim7.3_v3'
" Define the :TOhtml command when:
" - 'compatible' is not set