Fix multicursor + deoplete for neovim after upgrade

This commit is contained in:
Sergey 2017-11-21 13:29:46 +03:00
parent ab837618f0
commit 0c78a57821
2 changed files with 13 additions and 0 deletions

11
.nvimrc
View File

@ -28,6 +28,9 @@ Plugin 'tpope/vim-bundler'
" Productivity
Plugin 'farseer90718/vim-taskwarrior'
" Money
Plugin 'ledger/vim-ledger'
Plugin 'majutsushi/tagbar'
Plugin 'L9'
@ -137,6 +140,14 @@ let g:deoplete#max_list = 10
let g:deoplete#sources#syntax#min_keyword_length = 3
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
" Deoplete with multiple cursors
function Multiple_cursors_before()
let g:deoplete#disable_auto_complete = 1
endfunction
function Multiple_cursors_after()
let g:deoplete#disable_auto_complete = 0
endfunction
autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete
" Neocomplete snippets

View File

@ -7,6 +7,8 @@ AllCops:
- 'db/**/*'
- 'config/**/*'
- 'script/**/*'
- 'vendor/bundle/**/*'
- 'app/assets/**/*'
Rails:
Enabled: true