Lightline.vim: Could not load colorscheme dracula

Created on 27 Dec 2017  路  8Comments  路  Source: itchyny/lightline.vim

Trying out your plugin and when I start vim, it tells me that dracula is not found.

Plug 'dracula/vim'
Plug 'itchyny/lightline.vim'

Here is my config

let g:lightline = {
  \ 'colorscheme': 'dracula'
\}
set laststatus=2
set noshowmode

Thoughts?

configuration

Most helpful comment

Use Dracula, not dracula. I'm not sure why I didn't note the committer to rename it to lowercase...

All 8 comments

Use Dracula, not dracula. I'm not sure why I didn't note the committer to rename it to lowercase...

@itchyny @jrock2004 from the official instruction of dracula:
https://draculatheme.com/vim/

Plug 'dracula/vim', { 'as': 'dracula' }
:PlugInstall

I am having the same problem with One Dark . How should I write it in the vimrc?

@itchyny

"""""""""""""""""
  " Syntax / Theme
  """""""""""""""""
  Plug 'morhetz/gruvbox'
  Plug 'joshdick/onedark.vim'
  Plug 'chriskempson/base16-vim'
  Plug 'ayu-theme/ayu-vim'
  Plug 'connorholyday/vim-snazzy'
  Plug 'dracula/vim', { 'as': 'dracula' }

  """""""""""""""""
  " Editor
  """""""""""""""""
  " File / Project Finding
  Plug '/usr/local/opt/fzf'
  Plug 'junegunn/fzf.vim'

  let g:fzf_layout = { 'down': '~25%' }

  Plug 'tpope/vim-vinegar'

  " Working with code
  Plug 'tpope/vim-surround'
  Plug 'tpope/vim-commentary'

  Plug 'editorconfig/editorconfig-vim'

  Plug 'sickill/vim-pasta'
  Plug 'ryanoasis/vim-devicons'

  Plug 'tpope/vim-fugitive'
  Plug 'tpope/vim-rhubarb'

  Plug 'tpope/vim-projectionist'

  """"""""""""""""""""
  " Language Servers
  "
  " Debugging:
  "   node -e 'console.log(path.join(os.tmpdir(), "coc-nvim.log"))'
  """"""""""""""""""""
  Plug 'neoclide/coc.nvim', { 'branch': 'release' }

  """"""""""""""""""
  " Status
  """"""""""""""""""
  Plug 'itchyny/lightline.vim'
  Plug 'mike-hearn/base16-vim-lightline'
  Plug 'joshdick/onedark.vim'

  let g:lightline = {
    \ 'colorscheme': 'Dracula',

Getting same error

Isn't the corresponding lightline colorscheme named "darcula"?

That did it. Thanks @yhu266

Note that dracula and darcula are different colorscheme. The above comments are outdated since this commit https://github.com/dracula/vim/commit/47c8701680e9d29017bc227e21b08ab86ee612d9. Use lowecase. This is a colorscheme distributed by https://github.com/dracula/vim.

let g:lightline = {
    \ 'colorscheme': 'dracula',
    \ }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

ahmedelgabri picture ahmedelgabri  路  3Comments

indiesquidge picture indiesquidge  路  4Comments

JIAKanghao picture JIAKanghao  路  4Comments

kbc8090 picture kbc8090  路  3Comments