Closed ner0-m closed 4 years ago
A few questions:
colorscheme doom-one
?Plug 'romgrk/doom-one.vim'
An here a screenshot of how it looks for me, after running colorscheme doom-one
Just to be sure, you do have syntax enable
and filetype on
? And what happens if you do :source ~/.config/nvim/bundle/doom-one.vim/colors/doom-one.vim
?
Edit: and btw if you're looking for a tabs bar plugin I've written this one recently.
Yes to both. I tried it again with these options enabled again specifically, but still the same result. Same with sourcing the file directly.
Yes, I tried barbar (just the lines above). I'll give it a more serious try the next couple of days. I just wanted to remove all the plugins, to see if any mess with the color scheme.
EDIT: grammer
That is mystifying. But other colorschemes work? So let's try this.
Open the doom-one.vim file, and run this: :%g/^$/s:^:\='echom ' . line('.')
Then run :source %
, and tell me which line numbers you see. If you don't have time to see and it disappears, you can find them again in :messages
.
At least the buildin neovim ones work.
Does it help you in any way?
EDIT: My english today is really bad :D
Not, your output is the same output I get, which means that the colorscheme ran without problem.
What is the output of :hi Function
?
Weird.
Output: Function xxx guifg=#ECBE7B
, which seems correct. Tried it for a couple of other groups and all seem to be set correctly, but not rendered correctly.
Ah it seems I need to set termguicolors
, then it looks correct. Thanks for all the walk through! Now I can try barbar :+1:
LOL that took some time. Yes I also always forget about termguicolors. Good then.
Hi,
I am using VIm 8.2 and Nvim v0.5.1, and have the same problem (seeing gray and white colors). I am using the following config:
Plug 'romgrk/doom-one.vim'
set t_Co=256
set background=dark
syntax on
colorscheme doom-one
Command set termguicolors
is not helping.
Can you, please, give hints how to resolve this problem.
Is that all your config? Are you using vim-plug? Do you have the proper call plug#begin($vim . '/bundle')
and call plug#end()
calls?
Hi,
Thanks for helping.
My test .vimrc
is here:
kmarzic@dle5570:~ $ cat .vimrc
" vimrc
call plug#begin('~/.vim/plugged')
Plug 'chriskempson/base16-vim'
Plug 'romgrk/doom-one.vim'
call plug#end()
filetype on
set t_Co=256
set background=dark
" set background=light
syntax on
colorscheme doom-one
" colorscheme base16-apathy
"" eof
kmarzic@dle5570:~ $
set background=light
colorscheme base16-apathy
set background=dark
colorscheme doom-one
Maybe https://stackoverflow.com/questions/62702766/termguicolors-in-vim-makes-everything-black-and-white ? Not sure about termguicolors
behavior in vim, I only use neovim.
Hi, Thanks! I finally made it to work. I added 3 additional options in .vimrc:
set termguicolors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
Complete minimal .vimrc is:
kmarzic@dle5570:~ $ cat .vimrc
" vimrc
call plug#begin('~/.vim/plugged')
Plug 'chriskempson/base16-vim'
Plug 'romgrk/doom-one.vim'
call plug#end()
filetype on
set t_Co=256
set background=dark
" set background=light
syntax on
colorscheme doom-one
" colorscheme base16-apathy
set termguicolors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
"" eof
kmarzic@dle5570:~ $
Hi, I'm tried this color scheme and sadly all I get is grey and white. No highlighting at all. I'm still a quite new to the vim script stuff, so I'm not sure what is the problem. I just wanted to let you know, would love to try this theme.
If you need more info, just let me know.