1
0
mirror of https://github.com/scopatz/nanorc synced 2024-10-31 23:00:00 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
davidhcefx
10a8569c2d [C] Add highlightings for "TODO" and g++ linter 2023-04-13 22:04:20 +08:00
davidhcefx
b5b285fbf9 Force all syntax regex to ends with $
- Lots of syntax regex are poorly written and did not ends with a '$',
   which caused them competing with other regex rules.
2023-04-12 15:13:33 +08:00
Dante Falzone
56b1d0af87
Added highlighting for printf format specifiers 2020-08-27 09:44:59 -05:00
Dante Falzone
7d8b17832a
Fixed highlighting of inline comments in c.nanorc 2020-08-27 09:17:08 -05:00
Anthony Scopatz
12a814bb5b
Merge pull request #268 from earboxer/morefiles
* Syntax Files: Detect more files for highlighting
2020-01-25 16:17:50 -05:00
Dante Falzone
8959baefff
added documentation comments to c.nanorc 2019-12-25 21:57:14 -06:00
Zach DeCook
aaee778ba5 - syntax: Add a few more file endings 2019-12-18 22:08:43 -05:00
Zach DeCook
db98b9f1b5 * NanoRC Files: Copy linter and magic from nano 4.6 configs 2019-12-18 11:20:31 -05:00
Zach DeCook
97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 2019-12-18 11:13:13 -05:00
Harsh Shandilya
3cbbea4a30
Handle this the proper way
Suggested-by: SuperSandro2000 <sandro.jaeckel@posteo.de>
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 18:58:54 +05:30
Harsh Shandilya
8b6b6b5ad8
Enforce leading spaces for comments in all languages
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 15:58:00 +05:30
PhilipRoman
eff6072bf5 Add "least", "fast" and "max" C fixed-width types
This commit adds support for the remaining C99/C++11 fixed-width types:
u?int_fastN_t
u?int_leastN_t
u?intmax_t
2019-06-26 23:03:20 +03:00
Michael Straube
eef750872c uncomment whitespace highlighting 2016-06-10 21:39:11 +02:00
Dario Ostuni
d586ea14f7 Added missing C++ keywords 2016-03-24 00:17:58 +01: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
Anomitee
722ed013a6 Made whitespace highlighting optional 2014-01-04 17:42:19 +11:00
Anomitee
d566590602 Added highlighting of trailing whitespace 2014-01-04 17:32:57 +11:00
Anthony Scopatz
84808a0a46 Some minor changes to c and xml 2012-12-10 20:23:03 -06:00
Anthony Scopatz
211cd58347 Added *.def files to c. 2011-04-10 22:35:41 -05:00
Anthony Scopatz
2d2bb4ba12 First nanorc commit. 2010-07-28 17:15:43 -05:00