aboutsummaryrefslogtreecommitdiff
path: root/man/man7/dotfiles.7df
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-29 23:50:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-29 23:55:15 +1300
commitac847c00fe46e82e65008b6d23e1f8d89e755232 (patch)
treeadb4c9f0d24bb12488760c51a85faf9c2176d998 /man/man7/dotfiles.7df
parentUpdate submodules (diff)
downloaddotfiles-ac847c00fe46e82e65008b6d23e1f8d89e755232.tar.gz
dotfiles-ac847c00fe46e82e65008b6d23e1f8d89e755232.zip
Require minimum Vim version for background detect
On an ancient Vim (6.1), the block of code checking the value of COLORFGBG does not work at all, raising the following error output: Error detected while processing function DetectBackground: line 3: E117: Unknown function: split E15: Invalid expression: split($COLORFGBG, ';') line 6: E121: Undefined variable: l:colorfgbg E15: Invalid expression: len(l:colorfgbg) ? l:colorfgbg[-1] : '' line 9: E121: Undefined variable: l:bg E15: Invalid expression: l:bg == 'default' || l:bg == '7' || l:bg == '15' line 11: :else without :if: else line 13: :endif without :if: endif I'm unlikely to need such an ancient Vim very often, so I've simply added an error guard around the block.
Diffstat (limited to 'man/man7/dotfiles.7df')
0 files changed, 0 insertions, 0 deletions