1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-14 05:04:16 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
Anthony Scopatz
8a999dde46
Merge pull request #269 from earboxer/colornanorc
* Nanorc: Color the colors as the colors
2019-12-18 14:19:22 -05:00
Zach DeCook
97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 2019-12-18 11:13:13 -05:00
Zach DeCook
45db478648 * Nanorc: Color the colors as the colors
This makes editing nanorc files more visual!
2019-12-18 10:10:58 -05:00
Gareth Jones
7c6dc77d82
Highlight trailing whitespace (nanorc.nanorc) 2019-11-02 17:05:37 +13:00
Jeppe Fihl-Pearson
4e028d3454 Add highlighting of colors after "set <keyword>"
This required the color highlighting to happen before the keywords were
highlighted as ERE doesn't support non-capturing groups.
2019-07-27 08:58:17 +01:00
Jeppe Fihl-Pearson
c336296fe1 Add "normal" to the list of highlighted colors
It's an allowed color as per
https://www.nano-editor.org/dist/latest/nanorc.5.html.
2019-07-27 08:56:57 +01:00
Jeppe Fihl-Pearson
74c48dd85c Support all the .nanorc keywords
The list was taken from https://www.nano-editor.org/dist/latest/nanorc.5.html.
Previously the list of keywords were split into two regexes, this didn't seem
to serve any purpose besides making the code harder to read, so I have
collapsed them together into one.
2019-07-27 08:53:05 +01:00
Skruppy
c545f9ef5e
Add constantshow to nanorc.nanorc 2019-07-09 19:16:52 +02:00
Filip Szymański
a0f1f3007e
nanorc.nanorc: add positionlog keyword 2018-09-10 14:25:37 +02:00
Adrien Pyke
22d746ece8
include some missing nanorc options 2018-06-22 14:10:04 -04:00
mcnesium
85f1106c24
Bright red possible errors 2018-06-18 13:40:34 +02:00
ThomasR
bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00
Matthew Cox
6e75adacec Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 2014-08-02 23:25:00 +01:00
floomby
9eb0975839 added highlighting for undo option in nanorc files 2014-03-06 16:41:56 -07:00
Anthony Scopatz
2d2bb4ba12 First nanorc commit. 2010-07-28 17:15:43 -05:00