aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/fdp-primer/editor-config
diff options
context:
space:
mode:
authorWarren Block <wblock@FreeBSD.org>2014-02-26 23:14:36 +0000
committerWarren Block <wblock@FreeBSD.org>2014-02-26 23:14:36 +0000
commit8f97d7788288413d2b88d65dc009732482283093 (patch)
tree60782d9067ba27f22e17cd11af2427215d054800 /en_US.ISO8859-1/books/fdp-primer/editor-config
parent08760abfe810dbd188631ca4bb3f1789c016f6c1 (diff)
downloaddoc-8f97d7788288413d2b88d65dc009732482283093.tar.gz
doc-8f97d7788288413d2b88d65dc009732482283093.zip
Fix .nanorc config.
Submitted by: jgh
Notes
Notes: svn path=/head/; revision=44082
Diffstat (limited to 'en_US.ISO8859-1/books/fdp-primer/editor-config')
-rw-r--r--en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml b/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml
index fe96dd4c32..0823ef1401 100644
--- a/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml
+++ b/en_US.ISO8859-1/books/fdp-primer/editor-config/chapter.xml
@@ -94,7 +94,8 @@ augroup END</programlisting>
<para>Add these lines to the new
<filename>~/.nanorc</filename>.</para>
- <programlisting># trailing whitespace
+ <programlisting>syntax "xml" "\.([jrs]html?|xml|xslt?)$"
+# trailing whitespace
color ,blue "[[:space:]]+$"
# multiples of eight spaces at the start a line
# (after zero or more tabs) should be a tab