mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-22 09:12:10 +03:00
docs: concisely describe how the linter behaves
This commit is contained in:
parent
b760388bbf
commit
36fcdce886
@ -1482,6 +1482,11 @@ Invokes a full-buffer-processing program (if the active syntax defines one).
|
|||||||
|
|
||||||
@item linter
|
@item linter
|
||||||
Invokes a syntax-checking program (if the active syntax defines one).
|
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
|
@item justify
|
||||||
Justifies the current paragraph (or the marked region).
|
Justifies the current paragraph (or the marked region).
|
||||||
|
@ -691,6 +691,11 @@ Invokes a full-buffer-processing program (if the active syntax defines one).
|
|||||||
.TP
|
.TP
|
||||||
.B linter
|
.B linter
|
||||||
Invokes a syntax-checking program (if the active syntax defines one).
|
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
|
.TP
|
||||||
.B justify
|
.B justify
|
||||||
Justifies the current paragraph (or the marked region).
|
Justifies the current paragraph (or the marked region).
|
||||||
|
Loading…
Reference in New Issue
Block a user