Anselm Schüler
a5bc9ee49b
nixos/nano: enable syntaxHighlight by default
2023-10-05 00:15:32 +02:00
Anselm Schüler
8679b69dcd
nixos/nano: include extra syntax highlight files when syntaxHighlight is true
2023-10-05 00:12:42 +02:00
Sandro Jäckel
5b9cdda1c2
nixos/nano: add enable, package option, do not create /etc/nanorc by default
...
and remove nano from environment.defaultPackages. In addition also cleanup the file in general.
This is a follow up to #220481
Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
2023-09-29 00:24:34 +02:00
uoleg
8ca0687b97
nixos/nano: refactor nanorc creation
...
The default syntax highlighting rules are included at the top of the nanorc file to allow overriding.
2023-03-10 15:13:58 +03:00
pennae
da37ca6760
nixos/programs: invariant option docs MD conversions
2022-07-24 13:01:18 +02:00
volth
35d68ef143
treewide: remove redundant quotes
2019-08-26 21:40:19 +00:00
Claudio Bley
4dbf45bc5e
programs/nano: Generate nanorc if syntaxHighlight
enabled
...
* prepend a newline to the `include` directive
* generate the nanorc by default, since `cfg.syntaxHighlight` is `true`
2019-01-14 23:27:04 +01:00
gnidorah
4a662e5206
nano: add nix syntax hightlight, nano module: provide default ( #21912 )
...
this is awesome! thanks.
2017-01-18 12:05:30 +01:00
Joachim Fasting
decb4266f1
nano: support system-wide nanorc
...
This patch does two things
1. builds nano with sysconfdir=/etc; and
2. adds an option programs.nano.nanorc
2014-08-01 18:19:03 +02:00