about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ips/editor.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ips/editor.nim b/src/ips/editor.nim
index 3bce0fa9..bfa88cb5 100644
--- a/src/ips/editor.nim
+++ b/src/ips/editor.nim
@@ -31,7 +31,7 @@ func formatEditorName(editor, file: string, line: int): string =
       result &= ' '
     result &= file
 
-proc openEditor*(term: Terminal, config: Config, file: string, line = 0): bool =
+proc openEditor*(term: Terminal, config: Config, file: string, line = 1): bool =
   var editor = config.editor
   if editor == "":
     editor = getEnv("EDITOR")