Trash coc.nvim
This commit is contained in:
38
vimrc
38
vimrc
@@ -41,6 +41,9 @@ Plug 'sbdchd/neoformat'
|
||||
Plug 'AndrewRadev/bufferize.vim'
|
||||
Plug 'vimwiki/vimwiki'
|
||||
Plug 'vmchale/dhall-vim'
|
||||
Plug 'Shougo/echodoc.vim'
|
||||
Plug 'tpope/vim-scriptease'
|
||||
|
||||
|
||||
" scm
|
||||
Plug 'tpope/vim-fugitive'
|
||||
@@ -58,12 +61,12 @@ Plug 'Valloric/YouCompleteMe', { 'do': './install.py --clang-completer --go-comp
|
||||
\ }
|
||||
" deoplete for haskell
|
||||
if has('nvim')
|
||||
" Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins',
|
||||
" \ }
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins',
|
||||
\ }
|
||||
else
|
||||
" Plug 'Shougo/deoplete.nvim'
|
||||
" Plug 'roxma/nvim-yarp'
|
||||
" Plug 'roxma/vim-hug-neovim-rpc'
|
||||
Plug 'Shougo/deoplete.nvim'
|
||||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
endif
|
||||
|
||||
" snippets
|
||||
@@ -72,24 +75,11 @@ endif
|
||||
|
||||
" LSP
|
||||
" setting this per-language breaks "let g:LanguageClient_autoStart = 1",
|
||||
" Plug 'autozimu/LanguageClient-neovim', {
|
||||
" \ 'branch': 'next',
|
||||
" \ 'do': 'bash install.sh',
|
||||
" \ }
|
||||
|
||||
" Use release branch (Recommend)
|
||||
Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell', 'rust', 'sh', 'python', 'vim']}
|
||||
Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile', 'for': ['typescript']}
|
||||
"Plug 'neoclide/coc-git', {'do': 'yarn install --frozen-lockfile'}
|
||||
" Plug 'neoclide/coc-rls', {'do': 'yarn install --frozen-lockfile', 'for': ['rust']}
|
||||
Plug 'fannheyward/coc-rust-analyzer', {'do': 'yarn install --frozen-lockfile', 'for': ['rust']}
|
||||
Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell', 'rust', 'sh']}
|
||||
" Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile', 'for': ['python']}
|
||||
"Plug 'neoclide/coc-vetur', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell']}
|
||||
Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile', 'for': ['json']}
|
||||
" Plug 'neoclide/coc-eslint', {'do': 'yarn install --frozen-lockfile', 'for': ['']}
|
||||
Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile', 'for': ['yaml']}
|
||||
" Plug 'neoclide/coc-highlight', {'do': 'yarn install --frozen-lockfile', 'for': ['']}
|
||||
Plug 'autozimu/LanguageClient-neovim', {
|
||||
\ 'branch': 'next',
|
||||
\ 'do': 'bash ./install.sh'
|
||||
\ }
|
||||
|
||||
" linting/compilation
|
||||
Plug 'w0rp/ale', {
|
||||
@@ -198,6 +188,10 @@ call CmdAlias('hotkeys', 'tabnew ~/.vim/hotkeys')
|
||||
call CmdAlias('TC', 'call ToggleComment()<CR>')
|
||||
call CmdAlias('TF', 'call ToggleFoldText()<CR>')
|
||||
call CmdAlias('ctags', '!/usr/bin/ctags -R --langmap=c:.c.h --c++-kinds=+p --c-kinds=+p+x --fields=+i+a+S+t+l+m+n --extra=+q .<CR>')
|
||||
call CmdAlias('Nf', 'Neoformat')
|
||||
call CmdAlias('NF', 'Neoformat')
|
||||
call CmdAlias('nf', 'Neoformat')
|
||||
call CmdAlias('LS', 'LanguageClientStart')
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user