Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightline theme does not apply #10

Open
Lambdaphile opened this issue Sep 6, 2020 · 0 comments
Open

Lightline theme does not apply #10

Lambdaphile opened this issue Sep 6, 2020 · 0 comments

Comments

@Lambdaphile
Copy link

Lambdaphile commented Sep 6, 2020

I installed the theme and lightline plugin with plug and set colorscheme to dogrun but it does not apply automatically (it works when I do inline colorscheme dogrun). Strangely though it works with lightline-bufferline.

There's my config (I'm pretty noob with NeoVim):

call plug#begin()                                                                                                                     
Plug 'tpope/vim-fugitive'
Plug 'arcticicestudio/nord-vim'
Plug 'preservim/nerdtree'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'pangloss/vim-javascript'
Plug 'maxmellon/vim-jsx-pretty'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'ayu-theme/ayu-vim'
Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'Rigellute/rigel'
Plug 'kaicataldo/material.vim', { 'branch': 'main' }
Plug 'itchyny/lightline.vim'
Plug 'mengelbrecht/lightline-bufferline'
Plug 'wadackel/vim-dogrun'
call plug#end()
 
syntax enable
set termguicolors
set number
set relativenumber
set showtabline
set cursorline
 
colorscheme dogrun
let g:lightline = {
  \ 'colorscheme': 'dogrun',
  \ 'active': {
  \   'left': [ [ 'mode', 'paste' ], [ 'readonly', 'filename', 'modified' ] ]
  \ },
  \ 'tabline': {
  \   'left': [ ['buffers'] ],
  \   'right': [ ['close'] ]
  \ },
  \ 'component_expand': {
  \   'buffers': 'lightline#bufferline#buffers'
  \ },
  \ 'component_type': {
  \   'buffers': 'tabsel'
  \ }
  \ }
let g:lightline = {
  \ 'colorscheme': 'dogrun',
  \ }
"let g:dogrun_lightline = 4

I also don't have a problem setting Nightline themes with others (Rigel theme for example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant