Giter VIP home page Giter VIP logo

vim-horizon's Introduction

Horizon

Horizon is a beautifully warm dark colorscheme for Vim & inspired by Visual Studio Code Horizon Theme

GitHub license

1. Installation

Plug 'ntk148v/vim-horizon'
  • Other Vim Plugin Management Tools should be the same.

2. Usage

Put something like this in your vimrc/init.vim:

" if you don't set this option, this color might not correct
set termguicolors

colorscheme horizon

" lightline
let g:lightline = {}
let g:lightline.colorscheme = 'horizon'

" or this line
let g:lightline = {'colorscheme' : 'horizon'}

To apply lightline colorscheme without reloading:

:let g:lightline.colorscheme = 'horizon'
:call lightline#init()
:call lightline#colorscheme()

3. Screenshots

nightfox nightfox nightfox

4. Compatibility

Note for MacOS: The default terminal does not support true color. Use either Iterm2 or [another] terminal that supports true color.

5. Color Palette

Preview Color Preview Color Preview Color
#09f7a0 #09f7a0 #b877db #b877db #fab795 #fab795
#6bdfe6 #6bdfe6 #d2d4de #d2d4de #fab38e #fab38e
#1c1e26 #1c1e26 #d5d8da #d5d8da #95c4ce #95c4ce
#21bfc2 #21bfc2 #e95678 #e95678 #f09483 #f09483
#25b0bc #25b0bc #ec6a88 #ec6a88

vim-horizon's People

Contributors

chaitanyabsprip avatar gurran avatar ntk148v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vim-horizon's Issues

Vim8 weird colors.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
install kitty terminal
set horizon theme for kitty terminal
Download vim8
Install plugin with native plugin manager
set termguicolors
colorscheme horizon

Expected behavior
Horizon theme

Screenshots
Screen Shot 2022-03-03 at 15 32 23

Desktop (please complete the following information):

  • OS: mac os monterrey

Bold Version?

Could you make the bold version? :D

Nice work btw

Inconsistent between neovim and vim8

WX20190902-135400@2x

vim8 on the left and neovim on the right, the transparency is due to iTerm2, they looks the same except weird highlight for comment in vim 8.

However, even in neovim it doesn't look right, compared to your screenshort.

ERROR: There are not enough colors - after upgrading to NeoVim 0.8

Describe the bug
I upgraded NeoVim to v0.8.0 release and am now receiving the following error when I try to use Horizon colorscheme:

shell=/bin/zsh
Error detected while processing /Users/jason/.config/nvim/init.vim[52]../Users/jason/.config/nvim/autoload/plugged/vim-horizon/colors/horizon.vim:
line   11:
[Horizon] There are not enough colors.

In my init.vim, I have termguicolors enabled and am using Alacritty v0.11.0, which supports terminal gui colors:

colorscheme horizon
if has('termguicolors')
    set termguicolors
endif

The theme was working just fine before I upgraded NeoVim to 0.8.

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade NeoVim to version 0.8 release
  2. Set Horizon to Vim theme in init.vim:
colorscheme horizon
if has('termguicolors')
    set termguicolors
endif
  1. Open terminal that supports gui colors (Alacritty)
  2. Error appears when launching NeoVim

Desktop (please complete the following information):
OS: MacOS Monterey 12.6
Vim: NeoVim 0.8
Terminal: Alacritty 0.11.0 (Also apears in iTerm2).

Thanks in advance for any and all help! My apologies if this is a simple error, to resolve I'm still getting used to the Vim ecosystem and haven't had time to look through the API changes in the new NeoVim release.

Also, thanks for maintaining this color scheme, I absolutely love it! :-)

NonText Background and CursorLine issue

When enabling cursorline and having listchars with eol etc values the background for the NonText char does not align with other themes

image

Here is what it looks like on neovim with another theme (similar behavior with gruvbox)
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.