summary refs log tree commit diff stats
path: root/nimsuggest/nimsuggest.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-03-10 00:18:24 +0100
committerAraq <rumpf_a@web.de>2017-03-10 00:18:24 +0100
commit556b564c7d5f0a980c189af5c2c1b8c9b234f386 (patch)
tree03da89f54ca089a8b480ac79633cde9d8c868d56 /nimsuggest/nimsuggest.nim
parent57ea01309eb7ff1425fb3bc7907c67139fc50edf (diff)
downloadNim-556b564c7d5f0a980c189af5c2c1b8c9b234f386.tar.gz
nimsuggest: make tests green again
Diffstat (limited to 'nimsuggest/nimsuggest.nim')
-rw-r--r--nimsuggest/nimsuggest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim
index 9a1da0e51..8f2e4ff1e 100644
--- a/nimsuggest/nimsuggest.nim
+++ b/nimsuggest/nimsuggest.nim
@@ -424,7 +424,7 @@ proc execCmd(cmd: string; graph: ModuleGraph; cache: IdentCache; cachedMsgs: Cac
   else:
     if gIdeCmd == ideChk:
       for cm in cachedMsgs: errorHook(cm.info, cm.msg, cm.sev)
-    execute(gIdeCmd, orig, dirtyfile, line, col-1, graph, cache)
+    execute(gIdeCmd, orig, dirtyfile, line, col, graph, cache)
   sentinel()
 
 proc recompileFullProject(graph: ModuleGraph; cache: IdentCache) =