Ignore cmdwin (#664)

* Ignore cmdwin

* Ignore / cmdwin
This commit is contained in:
mattn
2020-01-10 01:07:29 +09:00
committed by Prabir Shrestha
parent eadb20a0c8
commit 896abb2d69

View File

@@ -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]))