summaryrefslogtreecommitdiff
path: root/share/nano/tex.nanorc
diff options
context:
space:
mode:
Diffstat (limited to 'share/nano/tex.nanorc')
-rw-r--r--share/nano/tex.nanorc6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/nano/tex.nanorc b/share/nano/tex.nanorc
new file mode 100644
index 0000000..23ca3a4
--- /dev/null
+++ b/share/nano/tex.nanorc
@@ -0,0 +1,6 @@
+## Here is a short example for TeX files.
+##
+syntax "tex" "\.tex$"
+icolor green "\\.|\\[A-Z]*"
+color magenta "[{}]"
+color blue "(^|[^\])%.*"