From: Yegappan Lakshmanan Date: Wed, 6 Jan 2021 15:18:51 +0000 (-0800) Subject: Switch to using new syntax for a lambda function X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=76b5d6b3cb3fe3ff8604168e23a0e655650d5fca;p=vim-lsp.git Switch to using new syntax for a lambda function --- diff --git a/autoload/handlers.vim b/autoload/handlers.vim index d462959..8132c88 100644 --- a/autoload/handlers.vim +++ b/autoload/handlers.vim @@ -388,7 +388,7 @@ def s:processDocSymbolReply(lspserver: dict, req: dict, reply: dictsort({a, b -> a.range.start.line - b.range.start.line}) + symbolLineTable->sort((a, b) => a.range.start.line - b.range.start.line) lsp#updateOutlineWindow(fname, symbolTypeTable, symbolLineTable) enddef