switch from coc to ale and deocomplete
This commit is contained in:
parent
53c7905d64
commit
b14b7ee733
1 changed files with 27 additions and 3 deletions
|
@ -57,8 +57,15 @@ Plugin 'norcalli/nvim-colorizer.lua'
|
||||||
Plugin 'vim-airline/vim-airline'
|
Plugin 'vim-airline/vim-airline'
|
||||||
|
|
||||||
" LANGUAGE SUPPORT
|
" LANGUAGE SUPPORT
|
||||||
" vim-coc
|
" autocompletion
|
||||||
Plugin 'neoclide/coc.nvim', {'tag': '*', 'branch': 'release'}
|
Plugin 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
" autocompletion for python
|
||||||
|
Plugin 'deoplete-plugins/deoplete-jedi'
|
||||||
|
" completion from tmux panes
|
||||||
|
Bundle 'wellle/tmux-complete.vim'
|
||||||
|
|
||||||
|
" Linting
|
||||||
|
Plugin 'dense-analysis/ale'
|
||||||
|
|
||||||
" nvim-remote
|
" nvim-remote
|
||||||
Plugin 'mhinz/neovim-remote'
|
Plugin 'mhinz/neovim-remote'
|
||||||
|
@ -286,5 +293,22 @@ let g:UltiSnipsSnippetDirectories=[$HOME."/.vim/snipps"]
|
||||||
" colors.lua setup
|
" colors.lua setup
|
||||||
lua require'colorizer'.setup()
|
lua require'colorizer'.setup()
|
||||||
|
|
||||||
" coc vim setup
|
" deoplete setup
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
let g:python3_host_prog = '/usr/bin/python'
|
let g:python3_host_prog = '/usr/bin/python'
|
||||||
|
|
||||||
|
" vim-ale setup
|
||||||
|
let g:ale_completion_enabled = 1
|
||||||
|
let g:ale_lint_on_text_changed = 'never'
|
||||||
|
let g:ale_fixers = {
|
||||||
|
\ '*': ['trim_whitespace'],
|
||||||
|
\ 'python': ['autopep8']
|
||||||
|
\ }
|
||||||
|
nmap <Leader>d :ALEGoToDefinition<CR>
|
||||||
|
nmap <Leader>r :ALEFindReferences<CR>
|
||||||
|
nmap <Leader>b :ALEFix<CR>
|
||||||
|
nnoremap <space>l :lnext<CR>
|
||||||
|
nnoremap <space>p :lprevious<CR>
|
||||||
|
|
||||||
|
" tmux setup
|
||||||
|
let g:tmuxcomplete#trigger = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue