Vim Tips Wiki
Register
Advertisement

Use this page to discuss script 2252 publish: publish hyperlinked, syntax highlighted source code with Vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Path locations[]

This is a wow script!

It took me a while to understand how to specify relative path locations. I think they work as follows:

  • tags file: relative to dir where vim is running from
  • sources: relative to dir where vim is running from; sets base dir of file list
  • target: relative to dir where vim is running from; sets base dir of html files; the same dir structure of file list is recreated in target dir
  • file list: relative to sources dir

Comments[]

Advertisement