junegunn / seoul256.vim Goto Github PK
View Code? Open in Web Editor NEW:deciduous_tree: Low-contrast Vim color scheme based on Seoul Colors
:deciduous_tree: Low-contrast Vim color scheme based on Seoul Colors
New colours are definitely easier on the eyes, overall. I like the browner yellows and overall colour balance.
There are a couple of colours that stick out quite unpleasantly on my term(probably because they're being bolded as well):
Oh and I just discovered plug yesterday, while checking out how neovim was doing. :D
I'll take a look later on my laptop as well, colours on this monitor can be a bit off sometimes.
Failed to install due to this error:
x seoul256.vim:
Cloning into '/home/ross/.vim/plugged/seoul256.vim'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
In my .vimrc
/.config/nvim/init.vim
(Removed extra stuff to make it easier to follow):
call plug#begin('~/.vim/plugged')
Plug 'anned20/vimsence'
Plug 'junegunn/seoul256.vim'
Plug 'junegunn/vim-easy-align'
call plug#end()
Plug version: 0.10.0-1
Neovim version: 0.3.4-2
Using pangloss' javascript syntax file and set cursorline
, the parenthesis is too light in this code.
var foo = ({ );
Cloning into '/home/david/.vim/plugged/seoul256.vim'...
remote: Not Found
fatal: repository 'https://github.com/seoul256.vim-master/colors/seoul256.vim.git/' not found
It seems that on OSX I can't set the background to black, it only sets to black the line where my cursor is, it's pretty weird because with the exact same setup but in Linux instead of OSX, it works...
Hey, thx for the very nice theme.
i wanted to ask if it is possible to switch the layout for the active / not active vim windows?
i like it more to have the current window darker than the not active ones.
I added this as a quick fix to make the neovim terminal colors match the seoul256 terminal color scheme:
" set terminal colors
if has('nvim')
let g:terminal_color_0 = '#4E4E4E'
let g:terminal_color_8 = '#626262'
let g:terminal_color_1 = '#D68787'
let g:terminal_color_9 = '#D75F87'
let g:terminal_color_2 = '#5F865F'
let g:terminal_color_10 = '#87AF87'
let g:terminal_color_3 = '#D8AF5F'
let g:terminal_color_11 = '#FFD787'
let g:terminal_color_4 = '#85ADD4'
let g:terminal_color_12 = '#ADD4FB'
let g:terminal_color_5 = '#D7AFAF'
let g:terminal_color_13 = '#FFAFAF'
let g:terminal_color_6 = '#87AFAF'
let g:terminal_color_14 = '#87D7D7'
let g:terminal_color_7 = '#D0D0D0'
let g:terminal_color_15 = '#E4E4E4'
endif
This works for me, but it's probably not a complete solution (i.e. I don't think this takes the light / dark color variants into account). It would be great if terminal color support was built into this colorscheme.
Nice theme!
I have an issue though - with two windows in vsplit, screen flickers every time when I move through buffer and only if have unsaved changes.
if i do :colors default, there's no flickering anymore.
tnx
Thanks for share vim theme, it's beautiful!! I tried many themes but except this wonderful seoul256, How I wish.
hi there!
first off, thank you for your work with this theme among others -- big fan of this theme along with goyo + limelight and a bunch of other vim plugins you've worked on.
I recently installed coc.nvim for autocompletion + suggestions and noticed that seoul256.vim's color scheme for suggestions + descriptions within coc.nvim are hard to read. I've attached a couple of screenshots as an example.
is there something I can do to help fix this?
thanks again!
Got this error:
line 718: sourcing "/Users/xbeta/.config/nvim/plugged/vim-colorschemes/colors/seoul256.vim"
Error detected while processing /Users/xbeta/dotfiles/config/nvim.symlink/plugged/vim-colorschemes/colors/seoul256.vim:
line 95:
E108: No such variable: "s:style"
S
currently on Neovim
Hi,
I'm encountering a weird issue on syntax highlighted. Please refers to othree/yajs.vim#18 (comment) and its following comments. It seems the Statement and String's color are the same in my terminal vim. However, I do check the seoul256.vim's color, the Statement and String has different value... do you have any idea about this?
Thanks.
Please change gui spelling errors to use undercurl instead of underline. Spelling errors then show up more clearly in gui vim and falls back to underline if not supported.
To reproduce:
Not sure if this is hard or even possible to fix.
Anyway, thank you for the theme!
Hi! Off the bat, I just wanted to say that I’ve been a long-time user of seoul256 (on and off since I started Vim a year ago), and I just wanted to thank you for all the great work you’ve done, not only on this colourscheme, but also on all your Vim plugins 😄!
I was wondering if you had considered switching over to colortemplate to make not only the handling of colours in true colour and 256 easier, but also to make the general syntax of writing a colourscheme easier.
In particular, I’ve noticed that there is a lot of code in seoul256 to make sure that the colours render properly everywhere, but that does not seem the case any longer (see #50 and #32) as iTerm v3.0 changed the way colours are handled, which meant that the 256-variant of seoul256 does not display colours properly in either iTerm or Terminal.app. As you have mentioned, all the versions of seoul256 that cannot be used on macOS are not tested by you, so you do not know if there is anything wrong with them.
In the state the colourscheme is at now, the only way to get the correct colours is to: use MacVim, or iTerm with termguicolors
.
I just found these points interesting, not meant as criticism at all, I really like the things you do 👍
Edit: I have created a new repository that replicates most (missing the plugin and ruby stuff) of the dark version of seoul256 in the default background colour. It displays the colours I have defined correctly (I’m sure there are some mistakes, but not that many) the same as seoul256, and the 256 version is much closer to the termguicolors
or GUI version than seoul256.
P.S. I am not sure how you would replicate the background-setting stuff and the colours that are dependent on it e.g.
call s:hi('ExtraWhitespace', ['', ''], [s:dark_bg - 1, s:light_bg - 2])
Also, I think using set bg
to define whether you want the light or dark version is a bad practice? (I’m not sure).
Patch from PR #36 broke the source command (seoul256-light.vim#L67) in Windows because fnameescape() did not handle the network drive (ex. C:\
).
Relative paths and absolute paths without the network drive work (ex. /Vim/vim80/colors/desert.vim
with set shellslash
).
Steps to Reproduce Issue:
:colorscheme seoul256-light
Result: E492: Not an editor command: silent source<filepath>
Workaround:
'silent source ' . <file>
)Errors in Vim are currently quite hard to read, looking like this:
I solved this for me with this change here,
-call s:hi('Error', [s:dark_fg, s:light_bg_1], [52, 174])
+call s:hi('Error', [s:dark_fg, s:light_bg_1], [9, 174])
I haven't investigated any side-effects this might've had, but you might want to consider the change? 😊
Is it my imagination, or are the colors in the readme's screenshot warmer than the theme colors really are? I'd love to have that 'warmer' option without using redshift.
For instance, take a look at this:
In the screenshot:
left: readme screenshot; middle: nvim-qt; right: nvim in urxvt (256)
Line selecton background colors (teal) are:
readme scrot = #327173 (50, 113, 115)
nvim-qt (rgb) = #007173 (0, 113, 115)
nvim in urxvt (256) = #005F5F (0, 95, 95), though that's expected
Am I missing something? Were You using redshift or such when taking the scrot?
I’ve been trying to find some wallpapers, or even solid colours as wallpapers, that ‘match’ with seoul256. I thought it might be cool to have matching photos of Seoul, but I haven’t been able to find any good ones that ‘fit’ the colour scheme.
Could anyone recommend anything? If any good finds turn up then maybe we could add them to the wiki.
On a side note, what macOS appearance fits best with seoul256 (in your opinion)? Dark mode and graphite? Light with green accents? Just the standard light and blue? I ask because I find the dark mode of macOS Mojave to be too dark for seoul256, but the light mode a bit too much of a shock when working at night?
Any recommendations for this too?
Is there a way to set line numbers highlighted color in to white instead of default color gray?
Thanks. @junegunn
Hi @junegunn,
What do you think about adding documentation on how the colors are chosen for the parts of the code that they highlight.
Looking in the code I could only find the numbers from 1-255, making it hard to implement the color scheme for other applications.
For example I created sharkdp/vivid#93 but figuring out the colors was difficult.
A simple table in markdown in the Readme could be enough and help to establish the Seoul colors across many apps.
Do you have a corresponding vim-airline scheme?
As the title said, I wonder if there are conflicts in my vim config.
But I don't know how to check it out. I already Remove some plugins. I recently install, But it's not work. Can you give me a clue about how to make it out?
seoul256.vim
already supports ALEErrorSign
and ALEWarningSign
. Would it be possible/acceptable to also add the following?
ALEError
ALEWarning
ALEInfo
ALEInfoSign
In my case, LanguageClient-neovim relies on these groups to highlight diagnostics, so I'm currently overriding them with other groups to get colors and underlines/squigglies when using seoul256
. But it might be nice for users who are unaware of this if it worked out of the box.
And thanks for an awesome theme!
On line #328 you define the conceal highlighting for the indentLine plugin.
That's fine, but then there are plugins like the vim-javascript plugin, which also use the conceal features. It uses the conceal features for stuff like making the function
become a fancy f
, for eye-candy.
Here is a picture of the problem:
Notice on the line right above the cursor, where there is an anonymous function there is a barely visible f
.
Could this highlighting be made a little bit more obvious? Or perhaps add a feature to be able to customize it or set it to certain values? Thanks. :)
Same with dark background:
In case this helps, I have the following config in my .gvimrc
file:
let g:seoul256_background=235
let g:seoul256_light_background=255
colorscheme seoul256-light
Thanks! :)
Hello @junegunn,
Here's an example of wrong highlighting for javascript.jsx
. It is correctly highlighted with other colorschemes.
In a 16 color setup, what would be the Seoul colors that would go along with the 16 terminal colors?
Also, I am using Termite so I can also re-define any of the 256 colors, if that would make the terminal version more accurate then if you could please provide those as well, that'd be cool. ;)
Thank you very much! :)
there is an issue open in the vim repository, to distribute more colorschemes with Vim. Would you kindly give your permission to distribute this colorscheme with Vim?
Love seoul256 ❤️ Any thought on how I can set the color for the popup command list? It's a little hard to read the options except for the one selected.
" seoul256 theme
let g:seoul256_background = 233
color seoul256
autocmd ColorScheme * :highlight LineNr ctermbg=233
Currently using your colorscheme and it's really as nice as solarized.
I would like to ask you to improve the background color of the visual block in the light colorscheme. I can barely distinguish it from the normal background.
Recently a Whitespace
highlight group was added to Neovim (neovim/neovim#6367).
It got linked to NonText
by default, which results in the difference as shown in these screenshots neovim/neovim#6367 (comment) (the two bottom most screenshots)
For seoul256, Whitespace
should link to SpecialKey
to make it the same color as before. However you may also want to take advantage of this addition, and highlight Whitespace
with less contrast than SpecialKey
on Neovim
.
Not an issue
Working late at night I like adjusting the screen brightness/contrast. Perhaps someone else will also find this little mapping useful.
On Mac F1/F2 special keys (pressed together with Fn key) Dim/Brighten screen so this mapping seems very natural.
" brighten/dim background - a'la macOS dim screen function keys
" 233 (darkest) ~ 239 (lightest) 252 (darkest) ~ 256 (lightest)
function! Seoul256Brighten()
if g:seoul256_background == 239
let g:seoul256_background = 252
elseif g:seoul256_background == 256
let g:seoul256_background = 256
else
let g:seoul256_background += 1
endif
colo seoul256
endfunction
"
function! Seoul256Dim()
if g:seoul256_background == 252
let g:seoul256_background = 239
elseif g:seoul256_background == 233
let g:seoul256_background = 233
else
let g:seoul256_background -= 1
endif
colo seoul256
endfunction
"
nmap <F1> :call Seoul256Dim()<CR>
nmap <F2> :call Seoul256Brighten()<CR>
Traditionally, additions are green, deletions are red, and modified lines are some neutral-ish color like yellow/purple/whatever.
Right now… deletions are yellow, additions are purple… I'm not quite sure what modified is.
Is this something I should modify in another plugin, or what?
Neovim v0.5.0 includes built-in language server protocol (LSP) support and this colorscheme does not have relevant highlight groups for it. I understand that adding highlight groups for every new plugin/feature that comes along would be unwieldy, but considering the fact that this will be included as a core part of Neovim, I think it is worth adding.
These are the relevant groups:
LspDiagnosticsDefaultHint
LspDiagnosticsDefaultError
LspDiagnosticsDefaultWarning
LspDiagnosticsDefaultInformation
In the meantime I have the following set as a workaround:
highlight! link LspDiagnosticsSignError Exception
highlight! link LspDiagnosticsSignWarning WarningMsg
I knew that the range is 233~255, but I want it totally black, any way to do it ?
I try to add the highlight Normal ctermbg=black to the end of the seoul color vim file but not work
I’m using vim-git (related issue) and in :Gstatus
window (gitcommit filetype) it does not highlight staged and unstaged files with different colors.
Hi Junegunn — I recently started using Vim, and now I'm looking to incorporate it into my prose-writing workflow. (goyo and limelight are awesome!) Would you be open to adding bold and italic Markdown support to seoul256, similar to pencil.vim?
Thanks for this amazing colorscheme! This is not a bug, I think it can be taken as 'newbie question' or 'enhancement'.
First, I can switch among this two schemes inside vim using
:colorscheme seoul256
:colorscheme seoul256-light
Now... taking advantage of the feature you provide to increase/decrease the backgound darkness... how can I configure in .vimrc different backgound colors for each one of the schemes?
Hi,
first of all thank you for all your work for the dev community. I'm using a lot of your work (this plugin, vim-plugin, fzf, vim-easy-align and the list goes on).
I'm reporting what I think is an issue, and has been bothering me for a long time now: the ExtraWhitespace
highlight definition. I find the definition in this plugin provides too little contrast. I barely see it in my files.
I'm also using a "dedicated" plugin for this vim-better-whitespace. That plugin defines a screaming red color for ExtraWhitespace
and I like that one more (actually it hurts my eyes, but I remove it faster that way).
But, since seoul256
defines this highlight, vim-better-whitespace
plays nice and doesn't overwrite it.
Could this be implemented in some other way to let dedicated plugins take precedence?
If not, would you consider removing the ExtraWhitespace
highlight definition?
Thanks!
Sorry, this is not an issue, but, what font are you using in the images? looks great with the theme.
Thanks in advance.
hi, seoul256 is a beauty vim scheme, and I wonder know how to change listchars's color , thanks :)
here is my vim setting
set list
set listchars=tab:\▋,
Hello @junegunn,
First of all great work with this theme, it is really awesome. I've been using it since last week, but I just opened an Haskell file and almost everything is white :( Does this colorscheme support Haskell? What other languages does it support?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.