Fix multicursor + deoplete for neovim after upgrade
This commit is contained in:
11
.nvimrc
11
.nvimrc
@@ -28,6 +28,9 @@ Plugin 'tpope/vim-bundler'
|
|||||||
" Productivity
|
" Productivity
|
||||||
Plugin 'farseer90718/vim-taskwarrior'
|
Plugin 'farseer90718/vim-taskwarrior'
|
||||||
|
|
||||||
|
" Money
|
||||||
|
Plugin 'ledger/vim-ledger'
|
||||||
|
|
||||||
Plugin 'majutsushi/tagbar'
|
Plugin 'majutsushi/tagbar'
|
||||||
|
|
||||||
Plugin 'L9'
|
Plugin 'L9'
|
||||||
@@ -137,6 +140,14 @@ let g:deoplete#max_list = 10
|
|||||||
let g:deoplete#sources#syntax#min_keyword_length = 3
|
let g:deoplete#sources#syntax#min_keyword_length = 3
|
||||||
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
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
|
autocmd FileType ruby setlocal omnifunc=rubycomplete#Complete
|
||||||
|
|
||||||
" Neocomplete snippets
|
" Neocomplete snippets
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ AllCops:
|
|||||||
- 'db/**/*'
|
- 'db/**/*'
|
||||||
- 'config/**/*'
|
- 'config/**/*'
|
||||||
- 'script/**/*'
|
- 'script/**/*'
|
||||||
|
- 'vendor/bundle/**/*'
|
||||||
|
- 'app/assets/**/*'
|
||||||
|
|
||||||
Rails:
|
Rails:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user