Merge pull request #3 from gradha/pr_fix_column_position_for_idetools

Fixes the column position when invoking idetools.
This commit is contained in:
zah 2013-02-03 22:30:41 -08:00
commit 444b90f879

View file

@ -62,7 +62,7 @@ let g:nimrod_symbol_types = {
fun! NimExec(op)
let cmd = printf("nimrod idetools %s --track:\"%s,%d,%d\" \"%s\"",
\ a:op, expand('%:p'), line('.'), col('.'), CurrentNimrodFile())
\ a:op, expand('%:p'), line('.'), col('.')-1, CurrentNimrodFile())
call add(g:nim_log, cmd)
let output = system(cmd)