Skip to content

Commit 77f3536

Browse files
mattnhrsh7th
andauthored
Add lsp#activate() (#713)
Co-authored-by: hrsh7th <[email protected]>
1 parent b399cde commit 77f3536

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoload/lsp.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ function! s:on_text_document_did_open() abort
214214
endfor
215215
endfunction
216216

217+
function! lsp#activate() abort
218+
call s:on_text_document_did_open()
219+
endfunction
220+
217221
function! s:on_text_document_did_save() abort
218222
let l:buf = bufnr('%')
219223
if getbufvar(l:buf, '&buftype') ==# 'terminal' | return | endif

0 commit comments

Comments
 (0)