I'm new to NeoVim and just getting started.
My init.vim file under NeoVim\share\nvim\runtime\plugin\init.vim
successfully sets everything except for the colorscheme and background.
As seen in the image below, the numbers, color column, etc are all being set correctly, but the colorscheme and background commands are not occurring.
However, upon typing the commands :colorscheme default
and :set background=dark
, everything works fine.
Here's my init.vim file:
let mapleader="`"
set tabstop=4
set shiftwidth=4
set number
set cursorline
filetype indent on
set wildmenu
set showmatch
set hlsearch
set incsearch
set colorcolumn=80
vmap <C-S-C> "+y
map <C-S-V> "+p
noremap V <C-V>
map <F5> :!j @%
syntax enable
colorscheme default
set background=dark
I'm running NVIM v0.3.1 through CMD on Windows 10.
Other than the init.vim file, this is a fresh install.
Is this a known issue with NeoVim?
colorscheme blue
in your init.vim, does it have an effect? I see you're trying to usecolorschme default
at the moment, which doesn't set any colors at all, only leaving them at the default colors from your terminal, which depends on your terminal emulator and what colors you have it set to use.set background
might not do exactly what you think.