[patch] Syntax-to-HTML addon calls Vim's :toHTML
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: BG - B. A. <BAr...@dy...> - 2005-12-29 13:25:08
|
On Wed, 2005-12-28 at 16:09 -0500, Steve Hall wrote: > I think you're almost there. Just put those lines in a function. Then > copy it into an add-on so it can be picked from a menu. Something like this, then? (See attachment.) > One of these days this should get integrated into Cream's current > Convert Text-to-HTML add-on. I wrote it to better reflect a document's > leading whitespace and paragraph markings without just slamming the > entire document into some pre tags. It would take some work though. What is there to integrate? What does your text-to-HTML do that is worth preserving that mine doesn't? > There are! I'm still suspicious of the filetype detection stuff. Cream > relies almost entirely on Vim's detection architecture which usually > re-examines the filename. But there are some window and highlighting > management tasks in there, too. When I get inspired, I'll go through the entire list, then, starting with the filetype stuff. Ben |