From: Santosh Bandichode Date: Thu, 18 May 2023 19:19:30 +0000 (+0530) Subject: Remove return after throw X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=78622cacc242ef2fd0ee2b06b6c36b97bac5910f;p=vim-lsp.git Remove return after throw --- diff --git a/autoload/lsp/buffer.vim b/autoload/lsp/buffer.vim index c717e0d..8661de3 100644 --- a/autoload/lsp/buffer.vim +++ b/autoload/lsp/buffer.vim @@ -66,7 +66,6 @@ export def BufLspServerGet(bnr: number, feature: string = null_string): dicthas_key(feature) # If this happns it is a programming error, and should be fixed in the source code :throw $'Error: ''{feature}'' is not a valid feature' - return {} endif var SupportedCheckFn = SupportedCheckFns[feature]