wok-current annotate nano/stuff/nano.patch @ rev 23344

updated perl-http-date (6.01 -> 6.05)
author Hans-G?nter Theisgen
date Tue Mar 31 09:16:01 2020 +0100 (2020-03-31)
parents f9a21d0369a2
children
rev   line source
al@17862 1 --- ./etc/nanorc
al@17862 2 +++ ./etc/nanorc
al@17862 3 @@ -1,10 +1,6 @@
al@19240 4 -## Sample initialization file for nano.
al@19240 5 +## /etc/nanorc: system-wide initialization file for nano.
al@19240 6 +## ~/.nanorc: personal config file.
al@17862 7 ##
al@17862 8 -## Please note that you must have configured nano with --enable-nanorc
al@17862 9 -## for this file to be read! Also note that this file should not be in
al@17862 10 -## DOS or Mac format, and that characters specially interpreted by the
al@17862 11 -## shell should not be escaped here.
al@17862 12 -##
al@17862 13 ## To make sure an option is disabled, use "unset <option>".
al@17862 14 ##
al@17862 15 ## For the options that take parameters, the default value is given.
al@19240 16 @@ -58,7 +54,7 @@
al@17862 17 # set fill -8
al@17862 18
al@19240 19 ## Remember the used search/replace strings for the next session.
al@17862 20 -# set historylog
al@17862 21 +set historylog
al@17862 22
al@19240 23 ## Make the justify command kill whitespace at the end of lines.
al@19240 24 # set justifytrim
al@19240 25 @@ -80,7 +76,7 @@
al@17862 26 ## mouse clicks can be used to place the cursor, set the mark (with a
al@17862 27 ## double click), and execute shortcuts. The mouse will work in the X
al@17862 28 ## Window System, and on the console when gpm is running.
al@17862 29 -# set mouse
al@17862 30 +set mouse
al@17862 31
al@17862 32 ## Switch on multiple file buffers (inserting a file will put it into
al@17862 33 ## a separate buffer).
al@19240 34 @@ -159,7 +155,7 @@
al@17862 35 # set suspend
al@17862 36
al@17862 37 ## Use this tab size instead of the default; it must be greater than 0.
al@17862 38 -# set tabsize 8
al@17862 39 +set tabsize 4
al@17862 40
al@17862 41 ## Convert typed tabs to spaces.
al@17862 42 # set tabstospaces
al@19240 43 @@ -249,3 +245,151 @@
al@17862 44
al@19240 45 ## Set this if your Backspace key sends Del most of the time.
al@17862 46 # bind Del backspace all
al@17862 47 +
al@17862 48 +
al@17862 49 +
al@17862 50 +## Assembler
al@17862 51 +# include "/usr/share/nano/asm.nanorc"
al@17862 52 +
al@19240 53 +## Autoconf
al@19240 54 +# include "/usr/share/nano/autoconf.nanorc"
al@19240 55 +
al@17862 56 +## AWK
al@17862 57 +# include "/usr/share/nano/awk.nanorc"
al@17862 58 +
al@17862 59 +## C/C++
al@17862 60 +include "/usr/share/nano/c.nanorc"
al@17862 61 +
al@17862 62 +## Changelogs
al@17862 63 +# include "/usr/share/nano/changelog.nanorc"
al@17862 64 +
al@17862 65 +## CMake
al@17862 66 +# include "/usr/share/nano/cmake.nanorc"
al@17862 67 +
al@17862 68 +## CSS
al@17862 69 +include "/usr/share/nano/css.nanorc"
al@17862 70 +
al@17862 71 +## Apt's sources.list
al@17862 72 +# include "/usr/share/nano/debian.nanorc"
al@17862 73 +
al@17862 74 +## Default
al@17862 75 +include "/usr/share/nano/default.nanorc"
al@17862 76 +
al@19240 77 +## Emacs Lisp
al@19240 78 +# include "/usr/share/nano/elisp.nanorc"
al@19240 79 +
al@17862 80 +## Fortran 90/95
al@17862 81 +# include "/usr/share/nano/fortran.nanorc"
al@17862 82 +
al@17862 83 +## Gentoo ebuilds/eclasses
al@17862 84 +# include "/usr/share/nano/gentoo.nanorc"
al@17862 85 +
al@17862 86 +## Go
al@17862 87 +# include "/usr/share/nano/go.nanorc"
al@17862 88 +
al@17862 89 +## Groff
al@17862 90 +# include "/usr/share/nano/groff.nanorc"
al@17862 91 +
al@19240 92 +## Guile Scheme
al@19240 93 +# include "/usr/share/nano/guile.nanorc"
al@19240 94 +
al@17862 95 +## HTML
al@17862 96 +# include "/usr/share/nano/html.nanorc"
al@17862 97 +
al@17862 98 +## Java
al@17862 99 +# include "/usr/share/nano/java.nanorc"
al@17862 100 +
al@17862 101 +## Javascript
al@17862 102 +include "/usr/share/nano/javascript.nanorc"
al@17862 103 +
al@17862 104 +## JSON
al@17862 105 +# include "/usr/share/nano/json.nanorc"
al@17862 106 +
al@17862 107 +## Lua
al@17862 108 +# include "/usr/share/nano/lua.nanorc"
al@17862 109 +
al@17862 110 +## Makefiles
al@17862 111 +include "/usr/share/nano/makefile.nanorc"
al@17862 112 +
al@17862 113 +## Manpages
al@19240 114 +include "/usr/share/nano/man.nanorc"
al@17862 115 +
al@17862 116 +## Magicpoint presentations
al@17862 117 +# include "/usr/share/nano/mgp.nanorc"
al@17862 118 +
al@17862 119 +## Quoted emails (under e.g. mutt)
al@17862 120 +include "/usr/share/nano/mutt.nanorc"
al@17862 121 +
al@17862 122 +## Nanorc files
al@17862 123 +include "/usr/share/nano/nanorc.nanorc"
al@17862 124 +
al@19240 125 +## nftables
al@19240 126 +# include "/usr/share/nano/nftables.nanorc"
al@19240 127 +
al@17862 128 +## C/C++/Obj-C
al@17862 129 +# include "/usr/share/nano/objc.nanorc"
al@17862 130 +
al@17862 131 +## OCaml
al@17862 132 +# include "/usr/share/nano/ocaml.nanorc"
al@17862 133 +
al@17862 134 +## Patch files
al@17862 135 +include "/usr/share/nano/patch.nanorc"
al@17862 136 +
al@17862 137 +## Perl
al@17862 138 +# include "/usr/share/nano/perl.nanorc"
al@17862 139 +
al@17862 140 +## PHP
al@17862 141 +include "/usr/share/nano/php.nanorc"
al@17862 142 +
al@17862 143 +## PO files
al@17862 144 +include "/usr/share/nano/po.nanorc"
al@17862 145 +
al@19240 146 +## PostgreSQL
al@19240 147 +# include "/usr/share/nano/postgresql.nanorc"
al@19240 148 +
al@17862 149 +## POV-Ray
al@17862 150 +# include "/usr/share/nano/pov.nanorc"
al@17862 151 +
al@17862 152 +## Python
al@17862 153 +include "/usr/share/nano/python.nanorc"
al@17862 154 +
al@17862 155 +## Ruby
al@17862 156 +# include "/usr/share/nano/ruby.nanorc"
al@17862 157 +
al@17862 158 +## Bourne shell scripts
al@17862 159 +include "/usr/share/nano/sh.nanorc"
al@17862 160 +
al@17862 161 +## RPM spec files
al@17862 162 +# include "/usr/share/nano/spec.nanorc"
al@17862 163 +
al@17862 164 +## Tcl files
al@17862 165 +# include "/usr/share/nano/tcl.nanorc"
al@17862 166 +
al@17862 167 +## TeX files
al@17862 168 +# include "/usr/share/nano/tex.nanorc"
al@17862 169 +
al@17862 170 +## Texinfo files
al@17862 171 +# include "/usr/share/nano/texinfo.nanorc"
al@17862 172 +
al@17862 173 +## XML files
al@17862 174 +include "/usr/share/nano/xml.nanorc"
al@17862 175 +
al@17862 176 +
al@17862 177 +## Config file - By SliTaz
al@17862 178 +syntax "conf" "\.?conf$"
al@17862 179 +## Keywords
al@17862 180 +icolor brightgreen "="
al@17862 181 +## Comments
al@17862 182 +icolor cyan "^[[:space:]]*#.*$"
al@17862 183 +
al@17862 184 +## HTML - With modification for SliTaz.
al@17862 185 +syntax "HTML" "\.html$"
al@17862 186 +color brightblue start="<" end=">"
al@17862 187 +color red "&[^; ]*;"
al@17862 188 +color brightwhite start="<!DOCTYPE" end=">" start="<title>" end="</title>" start="<!--" end="-->"
al@17862 189 +color brightcyan start="<meta" end=">" start="<link" end=">"
al@17862 190 +color brightyellow "<p>|</p>|<pre>|</pre>|<li>|</li>"
al@17862 191 +color yellow "<ul>|</ul>|<hr>|<hr />"
al@17862 192 +color brightred "href=|name=|rel=|http-equiv=|content=|title=|type|style"
al@17862 193 +color brightgreen "<h1>|</h1>|<h2>|</h2>|<h3>|</h3>|<h4>|</h4>|<h5>|</h5>|<h6>|</h6>"
al@17862 194 +
al@17862 195
al@17862 196 --- ./usr/share/nano/sh.nanorc
al@17862 197 +++ ./usr/share/nano/sh.nanorc
al@17862 198 @@ -1,6 +1,6 @@
al@17862 199 ## Here is an example for Bourne shell scripts.
al@17862 200
al@17862 201 -syntax "sh" "\.sh$"
al@17862 202 +syntax "sh" "\.sh$" "receipt"
al@17862 203 header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)"
al@17862 204 magic "(POSIX|Bourne.*) shell script text"
al@19240 205 linter dash -n