Skip to content

Commit

Permalink
Add lsp#activate() (prabirshrestha#713)
Browse files Browse the repository at this point in the history
Co-authored-by: hrsh7th <[email protected]>
  • Loading branch information
mattn and hrsh7th authored Feb 19, 2020
1 parent b399cde commit 77f3536
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/lsp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ function! s:on_text_document_did_open() abort
endfor
endfunction

function! lsp#activate() abort
call s:on_text_document_did_open()
endfunction

function! s:on_text_document_did_save() abort
let l:buf = bufnr('%')
if getbufvar(l:buf, '&buftype') ==# 'terminal' | return | endif
Expand Down

0 comments on commit 77f3536

Please sign in to comment.