You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Neovim and sadly I don't understand how to change default color schemes. My init.vim config file looks as follows:
syntax on
set hls
set expandtab
set textwidth=0
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set backspace=indent,eol,start
set incsearch
set ignorecase
set ruler
set wildmenu
set smarttab
filetype indent on
filetype on
filetype plugin on
" Split navigation
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
call plug#begin('~/.local/share/nvim/plugged')
Plug 'davidhalter/jedi-vim'
" Deoplete Jedi - auto-completion for Python
Plug 'zchee/deoplete-jedi'
Plug 'vim-airline/vim-airline'
" Code highlighting
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
call plug#end()
" Code highlighting configuration
function MyCustomHighlights()
hi semshiParameterUnused ctermfg=117 guifg=#00ff00 cterm=underline gui=underline
endfunction
autocmd FileType python call MyCustomHighlights()
What I don't understand is:
Do I have to put color change after call plug#end() or can I place it right after Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
What exactly I have to put in order to change some color scheme? Both tries mentioned above have brought no effect - I still see unused parameters in the old color. Do I need to somehow restart the plugin?
The text was updated successfully, but these errors were encountered:
Unfortunately, it didn't help at first. Then I took a closer look at params ctermfg and guifg. I noticed that changing the former did the effect. I don't clearly understand concept of guifg - how it's different from ctermfg?
Hello,
I'm new to Neovim and sadly I don't understand how to change default color schemes. My
init.vim
config file looks as follows:What I don't understand is:
call plug#end()
or can I place it right afterPlug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
The text was updated successfully, but these errors were encountered: