You are not logged in.
I have installed vundle and am trying to install new plugins for vim. I decided to install "lightline" but receive the following errors when I have lightline listed in .vimrc.
Error detected while processing function vundle#installer#list:
line 1:
E121: Undefined variable: g:vundle#bundles
E116: Invalid arguments for function copy(g:vundle#bundles), 'v:val.name_spec'))
E116: Invalid arguments for function map(copy(g:vundle#bundles), 'v:val.name_spec'))
E116: Invalid arguments for function vundle#scripts#bundle_names(map(copy(g:vundle#bundles), 'v:val.name_s
pec'))
E15: Invalid expression: vundle#scripts#bundle_names(map(copy(g:vundle#bundles), 'v:val.name_spec'))
It doesn't do this when I restart with only the vundle plugin installed though. Here is a copy of my .vimrc.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'itchyny/lightline.vim'
call vundle#end()
filetype plugin indent on
What am I doing wrong?
Last edited by Narcher023 (2018-04-19 02:20:25)
Offline
Plugin managers for vim have not been relevant since version 8.0, when vim introduced native plugin management. See :h packages for a quick how-to. If you want a fish, here:
git clone https://github.com/itchyny/lightline.vim ~/.vim/pack/lightline/opt/lightline
echo 'packadd lightline' > ~/.vimrc
echo 'set laststatus=2' > ~/.vimrc
I have tested and confirmed the above indeed produces a colorful status line.
Offline
Thanks, that worked.
Offline