mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
@@ -206,6 +206,7 @@ endfunction
|
||||
function! s:on_text_document_did_open() abort
|
||||
let l:buf = bufnr('%')
|
||||
if getbufvar(l:buf, '&buftype') ==# 'terminal' | return | endif
|
||||
if getcmdwintype() !=# '' | return | endif
|
||||
call lsp#log('s:on_text_document_did_open()', l:buf, &filetype, getcwd(), lsp#utils#get_buffer_uri(l:buf))
|
||||
for l:server_name in lsp#get_whitelisted_servers(l:buf)
|
||||
call s:ensure_flush(l:buf, l:server_name, function('s:fire_lsp_buffer_enabled', [l:server_name, l:buf]))
|
||||
|
||||
Reference in New Issue
Block a user