Commit 20acb9aa authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

lspclient: avoid not so useful mark for a single destination goto

parent e9a8969f
......@@ -1119,6 +1119,10 @@ public:
const auto &item = itemConverter(;
const auto &pos = item.range.start();
goToDocumentLocation(item.uri, pos.line(), pos.column());
// forego mark and such if only a single destination
if (defs.count() == 1) {
// update marks
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment