annotate nanorc @ 124:c3320f06d412

Add a minimal global gitignore We could add more, but this is intended for things that only I need to ignore (such as build directories that other people might do differently) rather than stuff that everyone wants to do (like ignoring .pyc files or log files in the project)
author IBBoard <dev@ibboard.co.uk>
date Wed, 13 Mar 2019 19:19:50 +0000
parents 38e63e27f3da
children 078d269af1ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
1ec9a1720c5c Add XCompose (custom compose key combinations for odd characters) and Nano config
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 set nowrap
1ec9a1720c5c Add XCompose (custom compose key combinations for odd characters) and Nano config
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 set nonewlines
93
411e0a1c4382 Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents: 92
diff changeset
3 set autoindent
94
ac4d97a07527 New Nano doesn't like the old "set const" despite "set quiet"
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
4 # Note: This won't work in older Nano, but if we include "set const" then newer Nano complains
ac4d97a07527 New Nano doesn't like the old "set const" despite "set quiet"
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
5 # DESPITE including "set quiet" later
ac4d97a07527 New Nano doesn't like the old "set const" despite "set quiet"
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
6 set constantshow
93
411e0a1c4382 Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents: 92
diff changeset
7
411e0a1c4382 Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents: 92
diff changeset
8 ## Set quiet mode to deal with differences between Desktop and Server version support
411e0a1c4382 Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents: 92
diff changeset
9 set quiet
411e0a1c4382 Hide warnings and solve cross-version compatibility
IBBoard <dev@ibboard.co.uk>
parents: 92
diff changeset
10
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
11 ## Nanorc files
90
4342e7b19fa8 Standardise nanorc colouring with other file types
IBBoard <dev@ibboard.co.uk>
parents: 89
diff changeset
12 include "~/.nanorc.d/nanorc.nanorc"
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
13
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
14 ## Patch files
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
15 include "~/.nanorc.d/patch.nanorc"
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
16
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
17 ## Perl
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
18 include "/usr/share/nano/perl.nanorc"
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
19
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
20 ## Python
88
93b29bcbc9e7 Tidy up Python colouring so it doesn't burn eyes
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
21 include "~/.nanorc.d/python.nanorc"
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
22
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
23 ## Ruby
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
24 include "/usr/share/nano/ruby.nanorc"
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
25
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
26 ## PHP (and HTML)
84
b989099cde9f Start to update Nano colourisation
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
27 include "~/.nanorc.d/php.nanorc"
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
28
104
f2d500466492 Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
29 ## CSS
f2d500466492 Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
30 include "~/.nanorc.d/css.nanorc"
f2d500466492 Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
31
105
38e63e27f3da Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents: 104
diff changeset
32 ## JavaScript
38e63e27f3da Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents: 104
diff changeset
33 include "~/.nanorc.d/javascript.nanorc"
38e63e27f3da Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents: 104
diff changeset
34
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
35 ## Bourne shell scripts
89
a5810e6bed7e Improve nano shell colouring
IBBoard <dev@ibboard.co.uk>
parents: 88
diff changeset
36 include "~/.nanorc.d/sh.nanorc"
95
e7a2fbd79035 Add XML support
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
37
e7a2fbd79035 Add XML support
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
38 ## XML
e7a2fbd79035 Add XML support
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
39 include "~/.nanorc.d/xml.nanorc"