godlygeek / csapprox

Make gvim-only colorschemes work transparently in terminal vim
http://www.vim.org/scripts/script.php?script_id=2390
211 stars 18 forks source link

vim 8.0 fails #14

Closed klockeph closed 7 years ago

klockeph commented 7 years ago

Hi, I am using vim 8.0 without gui support and it fails on startup when CSApprox is enabled. I am loading it via Pathogen.

Error detected while processing function <SNR>17_CSApprox[46]..<SNR>17_CSApproxImpl[38]..<SNR>17_FixupGuiInfo: line 1: E716: Key not present in Dictionary: 0 E15: Invalid expression: a:highlights[s:hlid_normal].gui.bg == '' Error detected while processing /home/philipp/.vim/bundle/CSApprox/after/plugin/CSApprox.vim: line 28: E171: Missing :endif

klockeph commented 7 years ago

Script from the official vim page was outdated - works fine with github version.