.
This commit is contained in:
parent
00365e24ee
commit
62c05d1ef1
1 changed files with 19 additions and 7 deletions
|
@ -35,7 +35,19 @@
|
|||
|
||||
Plug 'prabirshrestha/asyncomplete.vim'
|
||||
Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
||||
Plug 'prabirshrestha/asyncomplete-file.vim'
|
||||
Plug 'prabigshrestha/asyncomplete-file.vim'
|
||||
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'prabirshrestha/async.vim'
|
||||
Plug 'thomasfaingnaert/vim-lsp-snippets'
|
||||
Plug 'thomasfaingnaert/vim-lsp-ultisnips'
|
||||
|
||||
let g:UltiSnipsExpandTrigger="<tab>"
|
||||
let g:UltiSnipsJumpForwardTrigger="<tab>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
|
||||
|
||||
set completeopt+=menuone
|
||||
set cot+=preview
|
||||
{%@@ elif lsp == "coc" @@%}
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
{%@@ endif @@%}
|
||||
|
@ -57,7 +69,7 @@
|
|||
Plug 'junegunn/fzf.vim'
|
||||
|
||||
" Completions
|
||||
" Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
|
||||
" HTML shortcuts
|
||||
Plug 'mattn/emmet-vim'
|
||||
|
@ -287,7 +299,7 @@ call plug#end()
|
|||
autocmd FileType json syntax match Comment +\/\/.\+$+
|
||||
|
||||
" Workaround for bug
|
||||
let g:lsp_documentation_float = 0
|
||||
" let g:lsp_documentation_float = 0
|
||||
|
||||
" Complete
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
|
|
Reference in a new issue