Skip to content

Commit 748a8e3

Browse files
authored
Improve error message at unsupported feature (#1001)
1 parent f6a66a1 commit 748a8e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/ui/vim.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function! s:not_supported(what) abort
2-
return lsp#utils#error(a:what.' not supported for '.&filetype)
2+
return lsp#utils#error(printf("%s not supported for filetype '%s'", a:what, &filetype))
33
endfunction
44

55
function! lsp#ui#vim#implementation(in_preview, ...) abort

0 commit comments

Comments
 (0)