Code Monkey home page Code Monkey logo

night-owl.vim's Introduction

Night Owl syntax

Font in the above screenshot is Iosevka

Night Owl Vim colorscheme screenshot

Font in the above screenshot is Fantasque Sans Mono

A true color Vim colorscheme based on sdras/night-owl-vscode-theme

Usage

""""" install

" install with vim-plug
Plug 'haishanh/night-owl.vim'
" or with NeoBundle
" NeoBundle 'haishanh/night-owl.vim'
" or with Vundle
" Plugin 'haishanh/night-owl.vim'

""""" enable 24bit true color

" If you have vim >=8.0 or Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif

" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1

""""" enable the theme

syntax enable
colorscheme night-owl

" To enable the lightline theme
let g:lightline = { 'colorscheme': 'nightowl' }

This theme is build with jacoborus/estilo. If you want to customize this theme, you will need Node.js.

# clone the repo and cd to the dir
# install deps
# you can use npm too
yarn

# checkout file estilo/palettes/night-owl.vim.yml and estilo/syntax/base.yml
# read https://github.com/jacoborus/estilo/blob/master/docs/color-palettes.md
# and https://github.com/jacoborus/estilo/blob/master/docs/colorschemes.md
# to understand how to use them

# make changes and run
yarn render

Links

night-owl.vim's People

Contributors

haishanh avatar jsit avatar mhanberg avatar pbnj avatar tssm 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  avatar  avatar  avatar  avatar  avatar  avatar

night-owl.vim's Issues

Unable to get theme working

Hello,

I'm trying to get this theme to work in iTerm2, but the colors seem to be off:

image

Here's my .vimrc:

" Specifying the plugin folder for vim-plug
call plug#begin('~/.vim/plugged')

" JS Syntax highlighting
Plug 'pangloss/vim-javascript'
" JSX Syntax highlighting
Plug 'mxw/vim-jsx'
" TypeScript Syntax highlighting
Plug 'leafgarland/typescript-vim'
" Night Owl Theme
Plug 'haishanh/night-owl.vim'

" Initialize the vim-plug plugin system
call plug#end()

" enable 24bit true color
if (has("termguicolors"))
 set termguicolors
endif

" Enable theme
syntax on
colorscheme night-owl

Any ideas? Thanks!

Font colors in :digraphs!

When I call the Digraphs overview (:digraphs!) the description of the characters are in white but the digraphs itself are drawn in a dark grey and thus very hard to read.
Bildschirmfoto von 2019-12-17 14-56-51
Is this somehow changeable?

Terminal Highlight?

Is there any plan to offer syntax highlighting for neovim terminal? As of now when accessing neovim terminal the colours differ from the default scheme colours. I have not tested this in a recent version of vim that's supports terminal splits so not sure if it applies to vim too?

Please define colors for tabs and status bar

Hi and thank you for your effort with this theme.

In order to make tabs and the status bar more attractive I added these lines to .vimrc:

hi StatusLineNC gui=bold guibg=#022a4b
hi StatusLine gui=bold guibg=#03467c
hi TabLineFill gui=none guibg=#022a4b
hi TabLine gui=none guibg=#022a4b
hi TabLineSel gui=bold guibg=#03467c

Your screenshot in README.md locks perfect. I guess the colors and settings come from lightline.

๐Ÿ™Œ

Yo this is really well done, JS syntax highlighting is ๐Ÿ”ฅ
That's all ๐Ÿ‘‹

lightline not working?

ll
Plugin doesn't do anything to the vim statusbar. What I'm doing wrong?

I installed your night-owl plugin by adding Plug 'https://github.com/haishanh/night-owl.vim.git'

also adding let g:lightline = { 'colorscheme': 'nightowl' }
and then :PluginInstall

`g:terminal_color_9` does not exist

I tried to write some scripts that converting neovim's terminal colors to vim's terminal one. However, because of title, vim throw the error. I think, it is estilo's bug. Please update estilo to the latest version.

Comment foreground color

For some reason, the below line in this color scheme is rendering comments incorrectly.

hi Comment guifg=#637777 ctermfg=243 gui=italic cterm=italic

image

I got it working by overriding the color scheme's command with the below.

colorscheme night-owl
" Override Comment colors
hi Comment guifg=#011627 guibg=#637777

image

It seems like my comment setting is backwards. Any idea what's going on?

DiffAdd, DiffChange, & DiffDelete Highlights

The DiffAdd, DiffChange, and DiffDelete highlights today are defined such that the foreground color is #011627 (dark-blue-ish) and the background colors are Green, Yellow, and Red respectively.

This results in a less pleasing aesthetic than if the highlights were reversed (i.e. Green/Yellow/Red foreground and dark-blue background).

See Before/After screenshots below for reference.

The fix can be as simple as setting guifg to the value of guibg and setting guibg to NONE (and same for ctermfg & ctermbg) in colors/night-owl.vim, like so:

hi DiffAdd guifg=#addb67 ctermfg=149 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi DiffChange guifg=#ecc48d ctermfg=222 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi DiffDelete guifg=#ff5874 ctermfg=204 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE

But I'm unsure if colors/night-owl.vim is being dynamically generated from another configuration file or not.

Before

Screen Shot 2020-12-21 at 9 21 42 PM

After

Screen Shot 2020-12-21 at 9 22 01 PM

I set my git gutter signs to U+2503

Would you be open for a PR for this? What are your thoughts?

please add colors for the FoldColumn

Hi and thanks for that wonderful colorschema,

I would like to see color support for the FoldColumn of Vim (which you can enable with :set foldcolumn=1).

At the moment its background is a light grey with cyan text, which doesn't fit into the color schema.
At the moment I've set the colors of the FoldColumn to the same as LineNr - but I think it would be better to give it a darker textcolor to distinct both columns.

Before:
bildschirmfoto von 2019-01-16 11-37-47

After:
bildschirmfoto von 2019-01-16 11-38-43

Thanks and best regards!

Found some differences

Hi, very nice port, but I found some differences.
These would be the fixes:

hi jsDestructuringBlock guifg=#82aaff  guibg=NONE gui=NONE  
hi jsClassDefinition guifg=#ecc48d  guibg=NONE gui=NONE
hi jsExport guifg=#7fdbca guibg=NONE gui=NONE  
hi jsExportDefault guifg=#7fdbca guibg=NONE gui=NONE

Screenshot font info

Hi! Is it possible you could mention what fonts you're using in the screenshots? The first one is clearly Iosevka, but I can't tell what the second one is. I noticed an older issue that asked the same question, but the font has been updated since then.

(Also, if it isn't too much to ask, would you be willing to add this info to the README?)

Thanks!

Colors missing in AsciiDoc files

Thanks again for the beautiful theme :-)

I've just discovered, that the colorscheme does not support the full highlighting of filetype=asciidoctor.

Here is a screenshot with set colorscheme=morning:
Bildschirmfoto von 2019-06-11 14-14-38

Notice that the headers are not highlighted when using set colorscheme=night-owl:
Bildschirmfoto von 2019-06-11 14-14-10

I'm using GVim 8.1 with Night-Owl version (67e3a6e)

Best regards,
Marc

Brackets not always colorized

When open vim bracket are white like this
image

But if I run next commands those change to orange

:colorscheme xcodedark
:colorscheme night-owl

image

Any idea why is this happening?

I checked the VSCode theme and those are orange


This is my configuration

syntax enable
colorscheme night-owl

if (has("termguicolors"))
set termguicolors
endif

" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1

" To enable the lightline theme
let g:lightline = { 'colorscheme': 'nightowl' }

No current line highlighting

Hi. Thanks for bringing this awesome theme to vim/neovim
Just installed it and now the current line isn't highlighted anymore even though I have set cursorline in init.vim file

Any workaround?

"Specify a directory for plugins
call plug#begin('~/.local/share/nvim/plugged')

" Surroundings for code
Plug 'tpope/vim-surround'

" sdras Night Owl theme
Plug 'haishanh/night-owl.vim'

" commment/uncomment code
Plug 'tpope/vim-commentary'

"autocompletion
Plug 'ajh17/VimCompletesMe'

call plug#end()

syntax enable

" Set 256 colors, dark background, and molotov
if (has("termguicolors"))
 set termguicolors
endif

colorscheme night-owl


set encoding=UTF-8
set backspace=indent,eol,start
set cursorline " Highlight current line
set expandtab " Expand tabs to spaces
set hlsearch " Highlight searches
set ignorecase " Ignore case of searches
set incsearch " Highlight dynamically as pattern is typed
set nu " Enable line numbers
set nowrap "do not wrap lines
set splitright "open split panes to the right
" map mode switch to jk 
inoremap jk <esc>


set tabstop=2
set shiftwidth=2
set noexpandtab "don't turn tabs into spaces	

" leader key
let mapleader = ","

MatchParen highlight is misleading

MatchParen hightlight makes the matching bracket way more visible than the bracket where the cursor is

In below image the cursor is on the first bracket, while it seems it is in the last one

image

Removing the MatchParen line in colorscheme makes it clearer

image

weird blue colors appearing

Hi @haishanh ๐Ÿ‘‹

I'm getting some weird blue highlights whenever I move forward to screen, Ctrl+F, Ctrl+B, etc. It's kinda weird, I'm not getting this on my Mac. If I use a different color theme, it doesn't show any of those weird highlights, any idea what this is?

Alt text

Background color for the code comments

Hello!

I have this weird background color for the comments in night-owl.

image

Is it possible to change it?

Vim: Vi IMproved 8.2 (2019 Dec 12, compiled Apr 19 2020 22:40:28)
Theme: night-owl

Support for italic

Hi there!

The theme is looking awesome!
I wonder whether you have supported italic in the theme? Thanks.

Italicize "as" in JS imports

Hi! First off, thanks for porting this theme!

I was wondering if you could italicize the as keyword when importing in javascript? The as I'm thinking about is here:

screen shot 2019-01-25 at 12 44 36

Thanks so much!

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.