nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 36fcdce88635a9aec3b42f91407c70039e152b0a
parent b760388bbfb0d6e01825d68d08de7ad54738ddce
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 25 Jul 2022 10:27:15 +0200

docs: concisely describe how the linter behaves

Diffstat:
Mdoc/nano.texi | 5+++++
Mdoc/nanorc.5 | 5+++++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/doc/nano.texi b/doc/nano.texi @@ -1482,6 +1482,11 @@ Invokes a full-buffer-processing program (if the active syntax defines one). @item linter Invokes a syntax-checking program (if the active syntax defines one). +If this program produces lines of the form "filename:linenum:charnum: +some message", then the cursor will be put at the indicated position +in the mentioned file while showing "some message" on the status bar. +You can move from message to message with @kbd{PgUp} and @kbd{PgDn}, +and leave linting mode with @kbd{^C} or @kbd{Enter}. @item justify Justifies the current paragraph (or the marked region). diff --git a/doc/nanorc.5 b/doc/nanorc.5 @@ -691,6 +691,11 @@ Invokes a full-buffer-processing program (if the active syntax defines one). .TP .B linter Invokes a syntax-checking program (if the active syntax defines one). +If this program produces lines of the form "filename:linenum:charnum: +some message", then the cursor will be put at the indicated position +in the mentioned file while showing "some message" on the status bar. +You can move from message to message with <PgUp> and <PgDn>, +and leave linting mode with \fB^C\fR or <Enter>. .TP .B justify Justifies the current paragraph (or the marked region).