vervang deoplete met cock
ik bedoel cock. nee cock. cock. ik bedoel cock. laat maar.
This commit is contained in:
+12
-13
@@ -11,9 +11,20 @@ set smarttab
|
|||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set autoindent
|
set autoindent
|
||||||
set smartindent
|
set smartindent
|
||||||
|
set nobackup
|
||||||
|
set nowritebackup
|
||||||
|
set updatetime=300
|
||||||
|
set signcolumn=yes
|
||||||
|
|
||||||
set completeopt=longest,menuone,preview
|
set completeopt=longest,menuone,preview
|
||||||
|
|
||||||
|
" Use tab for trigger completion with characters ahead and navigate.
|
||||||
|
inoremap <silent><expr> <TAB>
|
||||||
|
\ coc#pum#visible() ? coc#pum#next(1) :
|
||||||
|
\ CheckBackspace() ? "\<Tab>" :
|
||||||
|
\ coc#refresh()
|
||||||
|
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
||||||
|
|
||||||
set ruler " show the cursor position all the time
|
set ruler " show the cursor position all the time
|
||||||
|
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
@@ -28,20 +39,8 @@ call plug#begin(stdpath('data') . '/plugged')
|
|||||||
Plug 'itchyny/lightline.vim'
|
Plug 'itchyny/lightline.vim'
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'ap/vim-css-color'
|
||||||
Plug 'calviken/vim-gdscript3'
|
Plug 'calviken/vim-gdscript3'
|
||||||
Plug 'Shougo/deoplete-clangx'
|
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
|
||||||
Plug 'deoplete-plugins/deoplete-jedi'
|
|
||||||
Plug 'ervandew/supertab'
|
Plug 'ervandew/supertab'
|
||||||
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
call plug#end()
|
call plug#end()
|
||||||
let g:deoplete#enable_at_startup = 1
|
|
||||||
let g:deoplete#sources#jedi#show_docstring = 1
|
|
||||||
call deoplete#custom#var('clangx', 'clang_binary', '/usr/bin/clang')
|
|
||||||
|
|
||||||
" Deoplete autocomplete with tab
|
|
||||||
"inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
|
|
||||||
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
|
|
||||||
let g:SuperTabClosePreviewOnPopupClose = 1
|
|
||||||
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
|
|
||||||
|
|
||||||
|
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
|||||||
Reference in New Issue
Block a user