Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
025232b2
Commit
025232b2
authored
7 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
docs: mention the default values for comment and whitespace directives
Also, use proper mark-up for the examples.
parent
7c41c864
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/nano.texi
+5
-4
doc/nano.texi
doc/nanorc.5
+6
-4
doc/nanorc.5
with
11 additions
and
8 deletions
+11
-8
doc/nano.texi
View file @
025232b2
...
...
@@ -932,13 +932,14 @@ system and will be silently ignored otherwise.
@item comment "string"
Use the given string for commenting and uncommenting lines. A vertical bar or
pipe character (
|
) designates bracket-style comments; for example, "/*|*/" for
pipe character (
@t
{
|
}
) designates bracket-style comments; for example,
@t
{
"/*|*/"
}
for
CSS files. The characters before the pipe are prepended to the line and the
characters after the pipe are appended at the end of the line. If no pipe
character is present, the entire string is prepended; for example, "#" for
character is present, the entire string is prepended; for example,
@t
{
"#"
}
for
Python files. If empty double quotes are specified, the comment/uncomment
functions are disabled; for example, "" for JSON. Double quotes or backslashes
may be escaped with a backslash; for example, ".
\\
"" for man page source.
functions are disabled; for example, @t
{
""
}
for JSON. Double quotes or backslashes
may be escaped with a backslash; for example, @t
{
".
\\
""
}
for man page source.
The default value is @t
{
"#"
}
.
@item color fgcolor,bgcolor "regex" @dots
{}
Display all pieces of text that match the
...
...
This diff is collapsed.
Click to expand it.
doc/nanorc.5
View file @
025232b2
...
...
@@ -270,7 +270,8 @@ Disallow file modification.
.TP
.B set whitespace "\fIstring\fP"
Set the two characters used to indicate the presence of tabs and
spaces. They must be single-column characters.
spaces. They must be single-column characters. The default pair
for a UTF-8 locale is "\fB»·\fR", and for other locales "\fB>.\fR".
.TP
.B set wordbounds
Detect word boundaries differently by treating punctuation
...
...
@@ -329,13 +330,14 @@ system and will be silently ignored otherwise.
.TP
.BI comment " string"
Use the given string for commenting and uncommenting lines. A vertical bar or
pipe character (
|
) designates bracket-style comments; for example, "/*|*/" for
pipe character (
\fB|\fP
) designates bracket-style comments; for example, "
\fB
/*|*/
\fP
" for
CSS files. The characters before the pipe are prepended to the line and the
characters after the pipe are appended at the end of the line. If no pipe
character is present, the entire string is prepended; for example, "
#
" for
character is present, the entire string is prepended; for example, "
\fB#\fP
" for
Python files. If empty double quotes are specified, the comment/uncomment
function is disabled; for example, "" for JSON. Double quotes or backslashes
may be escaped with a backslash; for example, ".\\"" for man page source.
may be escaped with a backslash; for example, "\fB.\\"\fP" for man page source.
The default value is "\fB#\fP".
.TP
.B color \fIfgcolor\fR,\fIbgcolor\fR """\fIregex\fR""" ...
Display all pieces of text that match
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help