there is always undefined variable error "E121: Undefined variable: g:spf13_bundle_groups" after installation #1132
Open
Description
Hi,
OS: MacOS 14.3.1 (23D60)
Vim: VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Dec 20 2023 18:57:50)
I installed the spf13 like below:
(base) ➜ ~ curl https://j.mp/spf13-vim3 -L -o - | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 142 100 142 0 0 146 0 --:--:-- --:--:-- --:--:-- 146
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 5230 100 5230 0 0 27 0 0:03:13 0:03:08 0:00:05 1429
Trying to update spf13-vim
From https://github.com/spf13/spf13-vim
* branch 3.0 -> FETCH_HEAD
Already up to date.
[✔] Successfully updated spf13-vim
[✔] Setting up vim symlinks.
Trying to update vundle
Cloning into '/Users/username/.vim/bundle/vundle'...
remote: Enumerating objects: 3160, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 3160 (delta 3), reused 8 (delta 0), pack-reused 3145
Receiving objects: 100% (3160/3160), 944.82 KiB | 245.00 KiB/s, done.
Resolving deltas: 100% (1111/1111), done.
[✔] Successfully cloned vundle.
Vim: Warning: Input is not from a terminal
[✔] Now updating/installing plugins using Vundle
after installation, I tried to open the .vimrc like below:
(base) ➜ ~ vim .vimrc
Error detected while processing /Users/username/.vimrc:
line 178:
E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'go')
line 201:
E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'writing')
line 212:
E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'writing')
line 373:
E117: Unknown function: WINDOWS
line 429:
E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'youcompleteme')
line 471:
E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'neocomplete')
line 701:
E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'neocomplcache') || count(g:spf13_bundle_groups, 'neocomplete')
Press ENTER or type command to continue
I tried to reinstalled for another 2 times, but it still had those errors, how can I fix them?
Metadata
Assignees
Labels
No labels