Skip to content

Commit aa1cc20

Browse files
committedApr 11, 2014
fix tomasr#22: 'hi Normal ctermbg=234' sets background=light
workaround for bug: https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
1 parent 6255227 commit aa1cc20

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed
 

‎README.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ If you prefer the scheme to match the original monokai background color, put thi
1919
let g:molokai_original = 1
2020
```
2121

22-
There is also an alternative sheme under development for color terminals which attempts to bring the 256 color version as close as possible to the the default (dark) GUI version. To access, add this to your .vimrc:
22+
There is also an alternative scheme under development for color terminals which attempts to bring the 256 color version as close as possible to the the default (dark) GUI version. To access, add this to your .vimrc:
2323
```
2424
let g:rehash256 = 1
2525
```
2626

27-
Note: when using the console version, add this command after enabling the colorscheme in your .vimrc:
28-
```
29-
set background=dark
30-
```

‎colors/molokai.vim

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
hi clear
1212

13-
set background=dark
1413
if version > 580
1514
" no guarantees for version 5.8 and below, but this makes it stop
1615
" complaining
@@ -271,3 +270,7 @@ if &t_Co > 255
271270
hi SpecialKey ctermfg=239
272271
endif
273272
end
273+
274+
" Must be at the end, because of ctermbg=234 bug.
275+
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
276+
set background=dark

0 commit comments

Comments
 (0)