Fixed vim and zsh
This commit is contained in:
26
vim/plugins/neco-vim/plugin/necovim.vim
Normal file
26
vim/plugins/neco-vim/plugin/necovim.vim
Normal file
@ -0,0 +1,26 @@
|
||||
"=============================================================================
|
||||
" FILE: necovim.vim
|
||||
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
|
||||
" License: MIT license
|
||||
"=============================================================================
|
||||
|
||||
augroup necovim
|
||||
autocmd!
|
||||
autocmd BufWritePost,FileType vim call necovim#helper#make_cache()
|
||||
|
||||
" Register source for NCM
|
||||
autocmd User CmSetup call cm#register_source({
|
||||
\ 'name': 'vim',
|
||||
\ 'abbreviation': 'vim',
|
||||
\ 'priority': 9,
|
||||
\ 'scoping': 1,
|
||||
\ 'scopes': ['vim'],
|
||||
\ 'cm_refresh': 'cm#sources#necovim#refresh',
|
||||
\ 'cm_refresh_patterns': ['\w\+\.$'],
|
||||
\ })
|
||||
augroup END
|
||||
|
||||
let g:loaded_necovim = 1
|
||||
|
||||
" __END__
|
||||
" vim: foldmethod=marker
|
Reference in New Issue
Block a user