mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-30 12:30:43 +00:00
Use coc for language IntelliSense completions
This commit is contained in:
parent
d35a9d3e83
commit
f601d345f9
4 changed files with 5 additions and 17 deletions
1
home/.config/nvim/rc/plugins.d/coc.vim
Normal file
1
home/.config/nvim/rc/plugins.d/coc.vim
Normal file
|
@ -0,0 +1 @@
|
|||
let g:coc_global_extensions = ['coc-python', 'coc-json', 'coc-git', 'coc-html', 'coc-css']
|
|
@ -1,12 +0,0 @@
|
|||
" Define python-specific neomake config
|
||||
" Neomake is python syntax checker, in this case, we use flake8
|
||||
" Requires: pip install flake8
|
||||
let g:neomake_python_enabled_makers = ['flake8']
|
||||
let g:neomake_python_flake8_maker = {'args': ['--ignore=E501', '--format=default']}
|
||||
call neomake#configure#automake('nrwi', 500)
|
||||
|
||||
" Enable deoplete on startup
|
||||
" Deoplete provides autosuggestions from python standard library
|
||||
" Requires: pip install pynvim
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue