Skip to content

Commit

Permalink
Refine detection whether snippet is supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
autozimu committed Jan 29, 2019
1 parent a28eced commit 657ad70
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions autoload/LanguageClient.vim
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,10 @@ function! s:hasSnippetSupport() abort
return 0
endif

" https://github.com/SirVer/ultisnips
if exists('g:did_plugin_ultisnips')
return 1
endif
" https://github.com/Shougo/neosnippet.vim
if exists('g:loaded_neosnippet')
return 1
endif
" https://github.com/garbas/vim-snipmate
if exists('g:loaded_snips')
return 1
endif

return 0
endfunction
Expand Down

0 comments on commit 657ad70

Please sign in to comment.