Improve error message at unsupported feature (#1001)

This commit is contained in:
Linda_pp
2021-01-03 01:58:03 +09:00
committed by GitHub
parent f6a66a11b5
commit 748a8e3aea

View File

@@ -1,5 +1,5 @@
function! s:not_supported(what) abort
return lsp#utils#error(a:what.' not supported for '.&filetype)
return lsp#utils#error(printf("%s not supported for filetype '%s'", a:what, &filetype))
endfunction
function! lsp#ui#vim#implementation(in_preview, ...) abort