Skip to content

Commit

Permalink
VIM Add vim-lsp-settings and some test code
Browse files Browse the repository at this point in the history
  • Loading branch information
clairvy committed Apr 19, 2020
1 parent e63862f commit 774ecb9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
16 changes: 16 additions & 0 deletions .vim/userautoload/dein/plugins.toml
Expand Up @@ -53,12 +53,28 @@ repo='prabirshrestha/async.vim'

[[plugins]]
repo='prabirshrestha/vim-lsp'
depends = ['async.vim']
hook_add = '''
let g:lsp_log_verbose = 1
let g:lsp_log_file = expand('~/vim-lsp.log')
'''

[[plugins]]
repo='mattn/vim-lsp-settings'

[[plugins]]
repo='prabirshrestha/asyncomplete.vim'
hook_add = '''
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<cr>"
imap <c-space> <Plug>(asyncomplete_force_refresh)
'''

[[plugins]]
repo='prabirshrestha/asyncomplete-lsp.vim'
depends = ['vim-lsp']
on_source = ['asyncomplete.vim']

#[[plugins]]
#repo='prabirshrestha/asyncomplete-neosnippet.vim'
Expand Down
8 changes: 0 additions & 8 deletions .vimrc
Expand Up @@ -212,14 +212,6 @@ let phpmanual_htmlviewer = 'w3m -o display_charset=utf-8 -o auto_detect=2 -T tex
"source $HOME/.vim/ftplugin/phpmanual.vim
"}}}

" neocmplcache {{{1
imap <TAB> <Plug>(neocomplcache_snippets_expand)
smap <TAB> <Plug>(neocomplcache_snippets_expand)
"imap <expr><TAB> neocomplcache#sources#snippets_complete#expandable() ? "\<Plug>(neocomplcache_snippets_expand)" : pumvisible() ? "\<C-n>" : "\<TAB>"
inoremap <expr><C-g> neocomplcache#undo_completion()
inoremap <expr><C-l> neocomplcache#complete_common_string()
"}}}

" eskk {{{1
if has('vim_starting')
if has('mac')
Expand Down

0 comments on commit 774ecb9

Please sign in to comment.