Update colorschemes and add new ones

This commit updates the colorschemes and adds some new ones:

* gotham (https://github.com/novln/micro-gotham-colors)
* monokai-dark (https://github.com/Theodus/micro-monokai-dark)
* one-dark (https://github.com/joseluisq/micro-one-dark)
* sunny-day (https://github.com/dwwmmn/micro-sunny-day)
This commit is contained in:
Zachary Yedidia
2020-01-31 15:05:55 -05:00
parent f731e422ea
commit 2598d8ad70
28 changed files with 509 additions and 1007 deletions

View File

@@ -417,6 +417,10 @@ func (w *BufWindow) displayBuffer() {
curNumStyle := config.DefStyle
if style, ok := config.Colorscheme["current-line-number"]; ok {
curNumStyle = style
if !b.Settings["cursorline"].(bool) {
_, bg, _ := lineNumStyle.Decompose()
curNumStyle = curNumStyle.Background(bg)
}
}
// We need to know the string length of the largest line number