Commit Graph

15 Commits (master)

Author SHA1 Message Date
Anthony Scopatz 8a999dde46
Merge pull request #269 from earboxer/colornanorc
* Nanorc: Color the colors as the colors
4 years ago
Zach DeCook 97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 4 years ago
Zach DeCook 45db478648 * Nanorc: Color the colors as the colors
This makes editing nanorc files more visual!
4 years ago
Gareth Jones 7c6dc77d82
Highlight trailing whitespace (nanorc.nanorc) 5 years ago
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.
5 years ago
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.
5 years ago
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.
5 years ago
Skruppy c545f9ef5e
Add `constantshow` to nanorc.nanorc 5 years ago
Filip Szymański a0f1f3007e
nanorc.nanorc: add positionlog keyword 6 years ago
Adrien Pyke 22d746ece8
include some missing nanorc options 6 years ago
mcnesium 85f1106c24
Bright red possible errors 6 years ago
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
8 years ago
Matthew Cox 6e75adacec Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 10 years ago
floomby 9eb0975839 added highlighting for undo option in nanorc files 10 years ago
Anthony Scopatz 2d2bb4ba12 First nanorc commit. 14 years ago