annotate nanorc @ 154:99a7805cb924

Fix Ubuntu's alias shortcomings
author IBBoard <dev@ibboard.co.uk>
date Tue, 30 May 2023 15:20:24 +0100
parents 078d269af1ca
children bb0e1239a611
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
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
8 ## Nanorc files
90
4342e7b19fa8 Standardise nanorc colouring with other file types
IBBoard <dev@ibboard.co.uk>
parents: 89
diff changeset
9 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
10
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
11 ## Patch files
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
12 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
13
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
14 ## Perl
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
15 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
16
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
17 ## Python
88
93b29bcbc9e7 Tidy up Python colouring so it doesn't burn eyes
IBBoard <dev@ibboard.co.uk>
parents: 85
diff changeset
18 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
19
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
20 ## Ruby
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
21 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
22
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
23 ## PHP (and HTML)
84
b989099cde9f Start to update Nano colourisation
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
24 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
25
104
f2d500466492 Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
26 ## CSS
f2d500466492 Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
27 include "~/.nanorc.d/css.nanorc"
f2d500466492 Add initial CSS syntax highlighting
IBBoard <dev@ibboard.co.uk>
parents: 95
diff changeset
28
105
38e63e27f3da Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents: 104
diff changeset
29 ## JavaScript
38e63e27f3da Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents: 104
diff changeset
30 include "~/.nanorc.d/javascript.nanorc"
38e63e27f3da Add JavaScript syntax highlighting based on stock config
IBBoard <dev@ibboard.co.uk>
parents: 104
diff changeset
31
85
ef08bb127ede Ditch third-party nanorc configs and just add what we use
IBBoard <dev@ibboard.co.uk>
parents: 84
diff changeset
32 ## Bourne shell scripts
89
a5810e6bed7e Improve nano shell colouring
IBBoard <dev@ibboard.co.uk>
parents: 88
diff changeset
33 include "~/.nanorc.d/sh.nanorc"
95
e7a2fbd79035 Add XML support
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
34
e7a2fbd79035 Add XML support
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
35 ## XML
e7a2fbd79035 Add XML support
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
36 include "~/.nanorc.d/xml.nanorc"