diff --git a/autoload/nimrod.vim b/autoload/nimrod.vim index 13ac84d..328c2e4 100644 --- a/autoload/nimrod.vim +++ b/autoload/nimrod.vim @@ -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)