File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ Nano Syntax Highlighting now available.
Original file line number Diff line number Diff line change
1
+ # How to use this file:
2
+ # cylc get-resources cylc.nanorc ~/.config/nano/cylc.nanorc
3
+ # Add the following to ~/.nanorc
4
+ # include ~/.config/nano/cylc.nanorc
5
+
6
+ # Supports `.cylc` files
7
+ syntax "Cylc" " \. cylc$ "
8
+
9
+ # # Multiline
10
+ color yellow start =" \"\"\" " end =" \"\"\" "
11
+ color yellow start =" '''" end =" '''"
12
+ color yellow start =" \[ " end =" \] "
13
+
14
+ # # Values
15
+ color yellow " =(. * )$ "
16
+ color green " =[^ > ]"
17
+ color brightmagenta " =>| &| \|\\ "
18
+
19
+ # # Valid headings
20
+ color green " ^ \s * \[ . * \] "
21
+ color green " ^ \s * \[\[ . * \]\] "
22
+ color green " ^ \s * \[\[\[ . * \]\]\] "
23
+
24
+ # # Comments (keep at the end of this file!)
25
+ color cyan " #. * $ "
26
+
27
+ # # Jinja2
28
+ icolor brightcyan " ^ #!Jinja2"
29
+ color brightcyan " \{ %. * %\} "
30
+ color brightcyan " \{\{ . * \}\} "
You can’t perform that action at this time.
0 commit comments