From 78622cacc242ef2fd0ee2b06b6c36b97bac5910f Mon Sep 17 00:00:00 2001 From: Santosh Bandichode Date: Fri, 19 May 2023 00:49:30 +0530 Subject: [PATCH] Remove return after throw --- autoload/lsp/buffer.vim | 1 - 1 file changed, 1 deletion(-) 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] -- 2.48.1