diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-25 12:02:36 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-25 12:02:36 +0100 |
commit | 22abd1b12b66e75f75fe01dc33abaa7d74597b3c (patch) | |
tree | 8442a25e9d2425c17478f4d5a61cbed99d5e823b /src/ips | |
parent | b493b135ac052a1ae4bb126ea23a8fc991d7e8d6 (diff) | |
download | chawan-22abd1b12b66e75f75fe01dc33abaa7d74597b3c.tar.gz |
ips/editor: make default line 1
Diffstat (limited to 'src/ips')
-rw-r--r-- | src/ips/editor.nim | 2 |
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") |