switch from ycm to deoplete for completion
This commit is contained in:
parent
ae68354c7f
commit
1ab41281f3
21
.gitmodules
vendored
21
.gitmodules
vendored
@ -85,12 +85,6 @@
|
|||||||
[submodule ".vim/bundle/vim-indent-guides"]
|
[submodule ".vim/bundle/vim-indent-guides"]
|
||||||
path = .vim/bundle/vim-indent-guides
|
path = .vim/bundle/vim-indent-guides
|
||||||
url = https://github.com/nathanaelkane/vim-indent-guides.git
|
url = https://github.com/nathanaelkane/vim-indent-guides.git
|
||||||
[submodule ".vim/bundle/YouCompleteMe"]
|
|
||||||
path = .vim/bundle_extra/YouCompleteMe
|
|
||||||
url = https://github.com/Valloric/YouCompleteMe.git
|
|
||||||
[submodule ".vim/bundle/tern_for_vim"]
|
|
||||||
path = .vim/bundle_extra/tern_for_vim
|
|
||||||
url = https://github.com/marijnh/tern_for_vim
|
|
||||||
[submodule ".vim/bundle/vim-jdaddy"]
|
[submodule ".vim/bundle/vim-jdaddy"]
|
||||||
path = .vim/bundle/vim-jdaddy
|
path = .vim/bundle/vim-jdaddy
|
||||||
url = https://github.com/tpope/vim-jdaddy.git
|
url = https://github.com/tpope/vim-jdaddy.git
|
||||||
@ -112,3 +106,18 @@
|
|||||||
[submodule ".vim/bundle/fzf.vim"]
|
[submodule ".vim/bundle/fzf.vim"]
|
||||||
path = .vim/bundle_extra/fzf.vim
|
path = .vim/bundle_extra/fzf.vim
|
||||||
url = https://github.com/junegunn/fzf.vim.git
|
url = https://github.com/junegunn/fzf.vim.git
|
||||||
|
[submodule ".vim/bundle_extra/deoplete.nvim"]
|
||||||
|
path = .vim/bundle_extra/deoplete.nvim
|
||||||
|
url = https://github.com/Shougo/deoplete.nvim.git
|
||||||
|
[submodule ".vim/bundle_extra/nvim-yarp"]
|
||||||
|
path = .vim/bundle_extra/nvim-yarp
|
||||||
|
url = https://github.com/roxma/nvim-yarp.git
|
||||||
|
[submodule ".vim/bundle_extra/vim-hug-neovim-rpc"]
|
||||||
|
path = .vim/bundle_extra/vim-hug-neovim-rpc
|
||||||
|
url = https://github.com/roxma/vim-hug-neovim-rpc
|
||||||
|
[submodule ".vim/bundle_extra/deoplete-go"]
|
||||||
|
path = .vim/bundle_extra/deoplete-go
|
||||||
|
url = https://github.com/deoplete-plugins/deoplete-go.git
|
||||||
|
[submodule ".vim/bundle_extra/deoplete-clangx"]
|
||||||
|
path = .vim/bundle_extra/deoplete-clangx
|
||||||
|
url = https://github.com/Shougo/deoplete-clangx.git
|
||||||
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 25ebc0b9abb1b135c809ee850085a0305cbc5533
|
|
1
.vim/bundle_extra/deoplete-clangx
Submodule
1
.vim/bundle_extra/deoplete-clangx
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 197738ed344f4b1709b726a08cc5f3231fff2f1c
|
1
.vim/bundle_extra/deoplete-go
Submodule
1
.vim/bundle_extra/deoplete-go
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit cb8504f09a04fac9325a5e2aa4a11c2400b1312d
|
1
.vim/bundle_extra/deoplete.nvim
Submodule
1
.vim/bundle_extra/deoplete.nvim
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 9d4e88f6cce63ed1b52ca2401d809c55ab443b25
|
1
.vim/bundle_extra/nvim-yarp
Submodule
1
.vim/bundle_extra/nvim-yarp
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 1524cf7988d1e1ed7475ead3654987f64943a1f0
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 994ffbe783da36d67786b6c66a4bf784c5eab300
|
|
1
.vim/bundle_extra/vim-hug-neovim-rpc
Submodule
1
.vim/bundle_extra/vim-hug-neovim-rpc
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 55db7affbc9527464a88fb2d5f133f4994415f10
|
@ -10,7 +10,7 @@ set autowrite
|
|||||||
set background=dark
|
set background=dark
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
set complete-=i
|
set complete-=i
|
||||||
set completeopt=longest,menuone
|
set completeopt=longest,menuone,noinsert
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set expandtab
|
set expandtab
|
||||||
set fileformats=unix,dos,mac
|
set fileformats=unix,dos,mac
|
||||||
|
@ -11,6 +11,10 @@ let g:ale_lint_on_text_changed = 'never'
|
|||||||
let g:ale_lint_on_enter = 'never'
|
let g:ale_lint_on_enter = 'never'
|
||||||
let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']}
|
let g:ale_linters = {'go': ['gofmt', 'go vet', 'go build']}
|
||||||
|
|
||||||
|
" deoplete.nvim
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
inoremap <expr><TAB> pumvisible() ? "\<C-y>" : "\<TAB>"
|
||||||
|
|
||||||
" fzf
|
" fzf
|
||||||
let $FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f -g "" 2> /dev/null'
|
let $FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -f -g "" 2> /dev/null'
|
||||||
|
|
||||||
@ -33,8 +37,3 @@ let g:licenses_copyright_holders_name = g:licenses_authors_name
|
|||||||
|
|
||||||
" vim-rooter
|
" vim-rooter
|
||||||
let g:rooter_silent_chdir = 1
|
let g:rooter_silent_chdir = 1
|
||||||
|
|
||||||
" YouCompleteMe
|
|
||||||
let g:ycm_check_if_ycm_core_present = 0
|
|
||||||
let g:ycm_confirm_extra_conf = 0
|
|
||||||
let g:ycm_global_ycm_extra_conf = $HOME.'/.vim/ycm.py'
|
|
||||||
|
15
.vim/ycm.py
15
.vim/ycm.py
@ -1,15 +0,0 @@
|
|||||||
def FlagsForFile(filename, **kwargs):
|
|
||||||
flags = [
|
|
||||||
'-Wall',
|
|
||||||
'-Wextra',
|
|
||||||
'-Werror'
|
|
||||||
'-pedantic',
|
|
||||||
'-std=c++11'
|
|
||||||
'-I',
|
|
||||||
'.',
|
|
||||||
]
|
|
||||||
|
|
||||||
return {
|
|
||||||
'flags': flags,
|
|
||||||
'do_cache': True
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user