Skip to content

Instantly share code, notes, and snippets.

@kashewnuts
Created August 29, 2016 13:39
Show Gist options
  • Save kashewnuts/30ca1bf7782f06b4f7ec2380a1ed095b to your computer and use it in GitHub Desktop.
Save kashewnuts/30ca1bf7782f06b4f7ec2380a1ed095b to your computer and use it in GitHub Desktop.
neocomplete & DOS window Error
[[plugins]]
repo = 'Shougo/dein.vim'
[[plugins]]
repo = 'Shougo/neocomplete.vim'
on_event = 'InsertEnter'
hook_source = '''
let g:neocomplete#enable_at_startup = 1
'''
if &compatible
set nocompatible
endif
let s:root_dein_path = expand('~/.cache/dein')
let s:dein_dir = s:root_dein_path . '/repos/github.com/Shougo/dein.vim'
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
" Read TOML & cache
let s:toml_path = '~/.vim/dein.toml'
let s:toml_lazy_path = '~/.vim/dein_lazy.toml'
if dein#load_state(s:root_dein_path)
call dein#begin(s:root_dein_path, [$MYVIMRC, s:toml_path, s:toml_lazy_path])
call dein#load_toml(s:toml_path, {'lazy': 0})
call dein#load_toml(s:toml_lazy_path, {'lazy' : 1})
call dein#end()
call dein#save_state()
endif
filetype plugin indent on
syntax on
if &compatible
set nocompatible
endif
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
call dein#begin('~/.cache/dein')
call dein#add('Shougo/dein.vim')
call dein#add('Shougo/neocomplete.vim', {
\ 'on_event' : 'InsertEnter',
\ 'hook_source' : 'let g:neocomplete#enable_at_startup = 1'
\ })
call dein#end()
filetype plugin indent on
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment