Vim script Ruby

README.md

Calm Spring Color Scheme for Vim Build Status

spring-night is a low contrast calm color scheme for Vim. It's colored with deep blue background, shiny yellow foreground and sakura🌸 text selection.

  • Both GUI 24bit colors and CUI 256 bit colors.
  • Aware of running Vim on translucent window.
  • Enable to tweak contrast.
  • Optimized for many filetypes.
  • Support vim-gitgutter and other some plugins.

On gVim (MacVim)

Vim script Go
Vim script on gVim (MacVim) Go on gVim (MacVim)

On Translucent Terminal (24bit color)

Vim script Go
Vim script on Vim (24bit color) Go on Vim (24bit color)

On Translucent Terminal (8bit color)

Vim script Go
Vim script on Vim (8bit color) Go on Vim (8bit color)

If you want to see more code, please visit demo page site.

Installation

Copy colors directory into your ~/.vim (or ~/vimfiles on Windows) or use :packadd (Vim8). Or use your favorite plugin manager.

Usage

Write below in your .vimrc.

colorscheme spring-night

This package provides a theme for vim-airline.

let g:airline_theme = 'spring_night'

Customize

You can customize some behaviors of this colorscheme.

  • g:spring_night_kill_italic: If 1, this colorscheme does not use italic attribute. Default value is 0.
  • g:spring_night_high_contrast: List of string. If it includes 'cui', it uses high contrast version on Vim in terminal. If it includes 'gui', it uses high contrast version on gVim. Default value depends on termguicolors option.

Supported Filetypes

This colorscheme is especially optimized for below filetypes/plugins:

Contribution

If you find some odd highlight, I'll be happy if you report it to issues with how to reproduce. And pull requests are of course welcome 😄

For colors palette, please see the source code directly. The variable definitions are color table of this colorscheme.

License

Licensed under the MIT license.

MIT License

Copyright (c) 2016 rhysd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
THE USE OR OTHER DEALINGS IN THE SOFTWARE.