Fixed vim and zsh

This commit is contained in:
2018-04-05 13:06:54 +02:00
parent f9db886bd3
commit 0331f6518a
2009 changed files with 256303 additions and 0 deletions

View 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