084ad4cc01
Added a new function, CSApproxSnapshot(filename [, force=0]). This function will take the current colors and dump them out to a new colorscheme script stored at `filename', unless that file already exists and `force' is not set. This may still have some bugs to work out, I'm surprised it was this easy... Not surprisingly, it falls apart if the colorscheme didn't set g:colors_name... And it doesn't handle highlights the user made himself, outside of the scheme. Still, it's a good first draft. |
||
---|---|---|
.. | ||
CSApprox.vim |