Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neosnippet-snippets cannot be found #539

Closed
xu-cheng opened this issue Jan 28, 2014 · 4 comments
Closed

neosnippet-snippets cannot be found #539

xu-cheng opened this issue Jan 28, 2014 · 4 comments

Comments

@xu-cheng
Copy link

Just install a fresh spf13-vim, get below error in vim.

neosnippet default snippets cannot be loaded.
You must install neosnippet-snippets or disable runtime snippets.
Press ENTER or type command to continue

Imgur

And it's odd that there's no such error in MacVim.

@abijr
Copy link

abijr commented Jan 28, 2014

I've got this error too.

@tvanhens
Copy link

I've got this error as well. Fresh install on osx.

@abijr
Copy link

abijr commented Jan 29, 2014

That erro stops if I add this line:

let g:neosnippet#disable_runtime_snippets = 1

But I start getting this new error:

Error detected while processing function neosnippet#init#_initialize..<SNR>168_initialize_cache..neosnippet#commands#_make_cache..neosnippet#helpers#get_snippets_directory:
line    2:
E712: Argument of get() must be a List or Dictionary

Not sure what to do now.

@abijr
Copy link

abijr commented Jan 29, 2014

After reading the code from neosnippets I found out that g:neosnippet#disable_runtime_snippets must be a dictionary. So adding to your .vimrc.local this line:

let g:neosnippet#disable_runtime_snippets = { "_": 1, }

Fixes the problem. It's either that or adding the default snippets from Shougo.

@spf13 spf13 closed this as completed in 784e58b Feb 18, 2014
spf13 added a commit that referenced this issue Feb 18, 2014
Add Shougo/neosnippet-snippets. Fixes #539.
raffone added a commit to raffone/spf13-vim that referenced this issue Feb 18, 2014
# By Johnny Robeson (4) and others
# Via Steve Francia (11) and others
* '3.0' of github.com:spf13/spf13-vim: (22 commits)
  Removed screen program mapping
  Screen program mapping is now opt-in This as it slows down exit from insert mode for many users
  Delete .gitmodules
  rename BASE_DIR to APP_DIR
  add $app_dir var to point to application root
  Fix neosnippet and neosnippet-snippets order to follow the instructions at Shougo/neosnippet
  Add Shougo/neosnippet-snippets. Fixes spf13#539. Shougo/neosnippet version 4.1 split the repository into two and the other half is now missing, see the PR for details.
  rolled back some changes to ensure d0 and d^ match default behaviours, spf13#464
  fixed wrap relative motion mappings to address problem reported in spf13#464 , d$ now deletes last character of line
  added spf13 option to enable/disable wrap relative movement mappings
  fix spelling of occurred in debug()
  Fix no_conceal on youcompleteme
  bash requires the space in this case
  store the vundle uri in a variable.
  Correct load order of config files in readme
  add a switch to disable omni complete
  fixed formatting for readme windows install instructions
  Added Chocolatey install for ctags to readme for windows install
  modified windows install instructions in readme
  added instructions for windows install with Chocolatey
  ...

Conflicts:
	.vimrc
	bootstrap.sh
francoisjacques pushed a commit to francoisjacques/spf13-vim that referenced this issue Feb 20, 2014
…rsion 4.1 split the repository into two and the other half is now missing, see the PR for details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants