Closed michalwarda closed 8 years ago
It should be something like:
let g:dotspacevim_additional_plugins = ['vim-scripts/colorsupport.vim']
Are you using distribution mode or key binding mode ?
And what's your vim version?
" -*- mode: vimrc -*-
"vim: ft=vim
" spacevim automatic installation {{{
if empty(glob('~/.vim/autoload/spacevim.vim'))
silent !curl -fLo ~/.vim/autoload/spacevim.vim --create-dirs
\ https://raw.githubusercontent.com/ctjhoa/spacevim/master/autoload/spacevim.vim
endif
" }}}
let g:dotspacevim_distribution_mode = 1
let g:dotspacevim_configuration_layers = [
\ 'core/.*',
\ 'git',
\ 'syntax-checking'
\]
let g:dotspacevim_additional_plugins = ['vim-scripts/colorsupport.vim']
let g:dotspacevim_excluded_plugins = []
" let g:dotspacevim_escape_key_sequence = 'fd'
let mapleader = ' '
let g:leaderGuide_vertical = 1
set dir=~/.tmp
set expandtab tabstop=2 shiftwidth=2
set nowrap
set number
set relativenumber
set swapfile
set timeoutlen=1000 ttimeoutlen=10
set wildignore+=*/node_modules/*,*/bower_components/*,*.so,*.swp,*.zip
cnoreabbrev W w
cnoreabbrev Q q
" This must be the end of the file
call spacevim#bootstrap()
This is my whole dotfile.
My Vim version is 7.4.712
The error is:
Error detected while processing function spacevim#bootstrap:
line 98:
E706: Variable type mismatch for: plugin
I have no problem to load your vimrc. Try to run :PlugInstall
to install additional packages
Have you ever tried to install spacevim before? I know that raw.githubusercontent.com
has a strong cache and sometimes you get an old version of spacevim.
You can check that comparing your .vim/autoload/spacevim.vim
and the one in this repo.
I've had better documentation in the vimrc.sample
.
I've checked the vimrc on ubuntu and it works perfectly. On OS X though it's throwing the error.
I have opened an new issue . I will close this one for clarity. Thanks
What should be the format for plugins inside
dotspacevim_additional_plugins
?Trying to add
'vim-ruby/vim-ruby'
to the list throws an error ofVariable Type mismatch for: plugin