From: Yegappan Lakshmanan Date: Thu, 27 Jan 2022 15:49:43 +0000 (-0800) Subject: Use the proper type for args (patch from Shane-XB-Qian) X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9d8a684913975b91be51e0a0665436335b984159;p=vim-lsp.git Use the proper type for args (patch from Shane-XB-Qian) --- diff --git a/autoload/lsp.vim b/autoload/lsp.vim index ccd24ac..3e8ccce 100644 --- a/autoload/lsp.vim +++ b/autoload/lsp.vim @@ -443,7 +443,7 @@ def lsp#addServer(serverList: list>) endif return endif - var args = [] + var args: list = [] if server->has_key('args') if server.args->type() != v:t_list util.ErrMsg('Error: Arguments for LSP server ' .. server.args .. ' is not a List')