wok-backports annotate nano/stuff/nano.patch @ rev 51

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