vimoutliner-colorscheme-fix : Allows VimOutliner files to work with *any* colorscheme.
script karma |
Rating 63/20,
Downloaded by 1313 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Bill Powell |
|
script type |
syntax |
|
description |
If you're familiar with VimOutliner, at http://vimoutliner.org, you know it's a fantastic outlining tool that can easily become your default way to use Vim. The one major annoyance I've found is that it ships with one or two colorschemes.
Unlike most syntax files, the colors are hard-coded in, so if you try to use a different colorscheme, the syntax highlighting disappears.
Fortunately, there's an easy fix. This tiny package is simply an updated syntax file, in which I have linked the syntax groups to established Vim groups, like Normal, Comment, and so on. You can now open a VimOutliner file in any colorscheme you like.
You’ll still get some occasional weirdnesses (certain elements can default to invisible), in which case you can either change colorschemes, tweak the colorscheme itself, or tweak syntax/vo_base.vim. Anyhow, it usually works.
(More info at http://www.billpowellisalive.com/2007/01/vimoutliner-and-a-tweak-to-use-colorschemes/) |
|
install details |
Assuming you’ve already gotten VimOutliner, just copy the package onto your vim tree (on Unix, usually ~/.vim). Note that THIS WILL OVERWRITE THE OLD SYNTAX FILE, e.g., ~/.vim/syntax/vo_base.vim, so back it up if you want it around.
Also, I've only tested this on a Linux machine. The actual file has a long name which includes its
Of course, the next type you upgrade VimOutliner, this syntax fix will be wiped out. But I’m posting this on the VimOutliner site; maybe this tweak’ll be in the next version. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.217.150.104
|