We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6dbdb1 commit 5355688Copy full SHA for 5355688
src/completion/completionengine.vala
@@ -159,7 +159,7 @@ namespace Vls.CompletionEngine {
159
var sr = sym.source_reference;
160
if (sr == null)
161
continue;
162
- var sr_begin = new Position () { line = sr.begin.line, character = sr.begin.column - 1 };
+ var sr_begin = new Position.from_libvala (sr.begin);
163
164
// don't show local variables that are declared ahead of the cursor
165
if (sr_begin.compare_to (pos) > 0)
0 commit comments