diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-25 12:46:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-25 12:46:44 +0200 |
commit | 7510fe74337599f70ae2044aef4f186b1f1c1bf9 (patch) | |
tree | b61a49e70685408de65b6d6833e72ba2fcc33c3b /runtime/plugin | |
parent | e6dc573b6e0e8eb59eda14be6f94476e72fd82ca (diff) | |
download | vim-git-7510fe74337599f70ae2044aef4f186b1f1c1bf9.tar.gz |
Add the synconcealed() function and use it for :TOhtml. (Benjamin Fritz)
Diffstat (limited to 'runtime/plugin')
-rw-r--r-- | runtime/plugin/tohtml.vim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/plugin/tohtml.vim b/runtime/plugin/tohtml.vim index 23cfd58d8..867b85d40 100644 --- a/runtime/plugin/tohtml.vim +++ b/runtime/plugin/tohtml.vim @@ -1,10 +1,15 @@ " Vim plugin for converting a syntax highlighted file to HTML. " Maintainer: Ben Fritz <fritzophrenic@gmail.com> -" Last Change: 2010 Jul 16 +" Last Change: 2010 July 24 " " The core of the code is in $VIMRUNTIME/autoload/tohtml.vim and " $VIMRUNTIME/syntax/2html.vim +if exists('g:loaded_2html_plugin') + finish +endif +let g:loaded_2html_plugin = 'vim7.3_v1' + " Define the :TOhtml command when: " - 'compatible' is not set " - this plugin was not already loaded |