Update jellybeans.vim to v1.6
This commit is contained in:
parent
a16c8525ef
commit
bfa2dc4040
2 changed files with 2 additions and 9 deletions
|
@ -99,12 +99,6 @@ change the default colors.
|
|||
|
||||
![][preview-ss]
|
||||
|
||||
The font in the screenshot is 10pt [Monaco][monaco]:
|
||||
|
||||
```vim
|
||||
set guifont=Monaco:h10 noanti
|
||||
```
|
||||
|
||||
|
||||
[ir_black]: https://web.archive.org/web/20140211124943/http://toddwerth.com/2008/01/25/a-black-os-x-leopard-terminal-theme-that-is-actually-readable/
|
||||
[twilight]: http://www.vim.org/scripts/script.php?script_id=1677
|
||||
|
@ -113,4 +107,3 @@ set guifont=Monaco:h10 noanti
|
|||
[tc-snowleopard]: https://github.com/timmfin/terminalcolours
|
||||
[preview-ss]: https://nanotech.nanotechcorp.net/downloads/jellybeans-preview.png
|
||||
[ss-anchor]: #screenshots
|
||||
[monaco]: https://en.wikipedia.org/wiki/Monaco_(typeface)
|
||||
|
|
|
@ -65,7 +65,7 @@ endif
|
|||
|
||||
let colors_name = "jellybeans"
|
||||
|
||||
if has("gui_running") || (has('termguicolors') && &termguicolors) || &t_Co >= 88
|
||||
if has("gui_running") || &t_Co == 88 || &t_Co == 256
|
||||
let s:low_color = 0
|
||||
else
|
||||
let s:low_color = 1
|
||||
|
@ -274,7 +274,7 @@ endfun
|
|||
fun! s:color(r, g, b)
|
||||
" map greys directly (see xterm's 256colres.pl)
|
||||
if &t_Co == 256 && a:r == a:g && a:g == a:b && a:r > 3 && a:r < 243
|
||||
return (a:r - 8) / 10 + 232
|
||||
return float2nr(round(a:r - 8) / 10.0) + 232
|
||||
endif
|
||||
|
||||
" get the closest grey
|
||||
|
|
Loading…
Reference in a new issue