changeset 92:5f2c5800fa8a

Fix small differences with older Nano on the server
author IBBoard <dev@ibboard.co.uk>
date Mon, 02 Apr 2018 17:30:20 +0100
parents 9f3d2d765a0f
children 411e0a1c4382
files nanorc nanorc.d/nanorc.nanorc nanorc.d/patch.nanorc nanorc.d/php.nanorc nanorc.d/python.nanorc nanorc.d/sh.nanorc
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/nanorc	Mon Apr 02 17:29:52 2018 +0100
+++ b/nanorc	Mon Apr 02 17:30:20 2018 +0100
@@ -1,6 +1,6 @@
 set nowrap
 set nonewlines
-set constantshow
+set const
 set autoindent
 
 ## Nanorc files
--- a/nanorc.d/nanorc.nanorc	Mon Apr 02 17:29:52 2018 +0100
+++ b/nanorc.d/nanorc.nanorc	Mon Apr 02 17:30:20 2018 +0100
@@ -1,6 +1,6 @@
 ## Here is an example for nanorc files.
 
-syntax nanorc "\.?nanorc$"
+syntax "nanorc" "\.?nanorc$"
 comment "#"
 
 # Possible errors and parameters
--- a/nanorc.d/patch.nanorc	Mon Apr 02 17:29:52 2018 +0100
+++ b/nanorc.d/patch.nanorc	Mon Apr 02 17:30:20 2018 +0100
@@ -1,6 +1,6 @@
 ## Here is an example for patch files.
 
-syntax patch "\.(patch|diff|debdiff)$"
+syntax "patch" "\.(patch|diff|debdiff)$"
 magic "diff output"
 # There is no official support for comments in patch files.
 comment ""
--- a/nanorc.d/php.nanorc	Mon Apr 02 17:29:52 2018 +0100
+++ b/nanorc.d/php.nanorc	Mon Apr 02 17:30:20 2018 +0100
@@ -1,6 +1,6 @@
 ## Here is an example for PHP.
 
-syntax php "\.(php[23457s~]?|html?)$"
+syntax "php" "\.(php[23457s~]?|html?)$"
 magic "PHP script"
 comment "//"
 
--- a/nanorc.d/python.nanorc	Mon Apr 02 17:29:52 2018 +0100
+++ b/nanorc.d/python.nanorc	Mon Apr 02 17:30:20 2018 +0100
@@ -1,6 +1,6 @@
 ## Here is an example for Python.
 
-syntax python "\.py$"
+syntax "python" "\.py$"
 header "^#!.*python[-0-9._]*"
 magic "Python script"
 linter pyflakes
--- a/nanorc.d/sh.nanorc	Mon Apr 02 17:29:52 2018 +0100
+++ b/nanorc.d/sh.nanorc	Mon Apr 02 17:30:20 2018 +0100
@@ -1,6 +1,6 @@
 ## Here is an example for Bourne shell scripts.
 
-syntax sh "\.sh$"
+syntax "sh" "\.sh$"
 header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)"
 magic "(POSIX|Bourne-Again) shell script.*text"
 linter dash -n