Skip to content

Lightline theme does not apply #10

@emseidov

Description

@emseidov

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions