Commit 10eae53
committed
fix environment check
This plugin requires ① a Vim 7 or higher ② with syntax support
③ capable of displaying enough colours. With the conditional as
previously written, has('syntax') being true would short-circuit out
of checking for enough colours, effectively removing the check for ③.
Factoring out the negations in the conditional turns the NORs into ANDs,
which makes its structure much more obvious.
This fixes #110.1 parent 8d640e4 commit 10eae53
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments