Various updates
This commit is contained in:
parent
22e0a89d14
commit
7b51f5caf8
6 changed files with 34 additions and 6 deletions
|
|
@ -8,7 +8,14 @@ Plug 'tpope/vim-rhubarb'
|
|||
Plug 'neomake/neomake'
|
||||
|
||||
" General completion. Needs plugins to extend
|
||||
Plug 'roxma/nvim-completion-manager'
|
||||
Plug 'ncm2/ncm2'
|
||||
Plug 'roxma/nvim-yarp' " for ncm2
|
||||
" NOTE: you need to install completion sources to get completions. Check
|
||||
" our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki
|
||||
Plug 'ncm2/ncm2-bufword'
|
||||
Plug 'ncm2/ncm2-tmux'
|
||||
Plug 'ncm2/ncm2-path'
|
||||
|
||||
|
||||
" Language-aware fancy things. Needs lang server config. Used, but what for?
|
||||
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
|
||||
|
|
@ -189,6 +196,12 @@ let g:neomake_ruby_rubocop_rails_maker = {
|
|||
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
||||
" ncm2 commands for completion
|
||||
" enable ncm2 for all buffers
|
||||
autocmd BufEnter * call ncm2#enable_for_buffer()
|
||||
" :help Ncm2PopupOpen for more information
|
||||
set completeopt=noinsert,menuone,noselect
|
||||
|
||||
" Start interactive EasyAlign in visual mode (e.g. vipga)
|
||||
xmap ga <Plug>(EasyAlign)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue