autoload/handlers.vim | 2 +- diff --git a/autoload/handlers.vim b/autoload/handlers.vim index d46295970d98fdd9b153f8923f31da12f1ec7a1f..8132c88adbbdbbedfc679ed5876f0b55053fa52f 100644 --- a/autoload/handlers.vim +++ b/autoload/handlers.vim @@ -388,7 +388,7 @@ s:processDocSymbolTable(reply.result, symbolTypeTable, symbolLineTable) endif # sort the symbols by line number - symbolLineTable->sort({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