_ _ _ _ ___ _____ _ _ _ _ _
__| | __ _| |_ __ ___ _ _ _ __(_|_) / / | ___ _ _|_ _|__ | | | | |_ _ __ ___ | | _ ____ _(_)_ __ ___
/ _` |/ _` | | '_ ` _ \| | | | '__| | | / /| | / __| '_ \| |/ _ \| |_| | __| '_ ` _ \| | | '_ \ \ / / | '_ ` _ \
| (_| | (_| | | | | | | | |_| | | | | |/ / | |___\__ \ |_) | | (_) | _ | |_| | | | | | |_| | | \ V /| | | | | | |
\__,_|\__,_|_|_| |_| |_|\__,_|_| |_|_/_/ |_____|___/ .__/|_|\___/|_| |_|\__|_| |_| |_|_(_)_| |_|\_/ |_|_| |_| |_|
|_|
Use LspToHtml like TOhtml. It will read semantic token and export html.
Usage
To make a whole file | certain range to html, respecting the lsp.
Existing window will be changed to temporary buffer with written output.
:LspToHtml
If you don't want buffer opened and saved somewhere instead:
:<>LspToHtml file.html