1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00
Commit Graph

497 Commits

Author SHA1 Message Date
Zach DeCook
391ed68163 * Syntax Files: Detect more files for highlighting 2019-12-18 09:34:49 -05:00
Anthony Scopatz
c705a50603
Merge pull request #265 from msfjarvis/systemd
systemd: Add more qualifiers
2019-12-02 15:47:43 -05:00
Anthony Scopatz
469f9e6fd5
Merge pull request #266 from msfjarvis/comment-fix
Enforce leading space for comments in all languages
2019-12-02 10:14:01 -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
Harsh Shandilya
586cbc3e43
kotlin: Enforce one leading space
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 15:58:00 +05:30
Harsh Shandilya
a0d2186fd9
systemd: Add more qualifiers
AmbientCapabilities: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#AmbientCapabilities=
PrivateDevices: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#PrivateDevices=
ProtectHome: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ProtectHome=
ProtectSystem: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ProtectSystem=

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 15:56:49 +05:30
Anthony Scopatz
aa46e20170
Merge pull request #262 from msfjarvis/msf/java-comments-fix
java: Enforce atleast one leading space for comments
2019-11-10 12:13:49 -05:00
Harsh Shandilya
ed2409da61
java: Enforce atleast one leading space for comments
This might not be the best way to approach the problem

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-10 19:28:25 +05:30
Anthony Scopatz
1ba2698c05
Merge pull request #261 from G-Rath/patch-3
Highlight trailing whitespace (nanorc.nanorc)
2019-11-02 11:10:54 -04:00
Gareth Jones
7c6dc77d82
Highlight trailing whitespace (nanorc.nanorc) 2019-11-02 17:05:37 +13:00
Anthony Scopatz
2f8c7aba4b
Merge pull request #260 from G-Rath/patch-2
Highlight trailing whitespace
2019-11-02 00:03:59 -04:00
Gareth Jones
8ac8d00e08
Highlight trailing whitespace 2019-11-02 16:57:35 +13:00
Anthony Scopatz
54ba247767
Merge pull request #259 from msfjarvis/msf/kotlin-update
kotlin: Add lateinit to qualifiers
2019-10-31 12:56:10 -05:00
Harsh Shandilya
7b2faa354a
kotlin: Add lateinit to qualifiers
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-31 22:24:27 +05:30
Anthony Scopatz
6bee1b23bf
Merge pull request #258 from krathalan/master
Add official Arch Linux package
2019-10-18 21:25:58 -04:00
Hunter Peavey
017cccbc7f
Fix spacing 2019-10-18 16:45:33 -07:00
Hunter Peavey
db62155f3a
Add official Arch Linux package; change a few words to fit; and fixed a few typos 2019-10-18 16:38:17 -07:00
Anthony Scopatz
f71033167d
Merge pull request #150 from ritiek/patch-1
Add kotlin
2019-10-18 13:07:13 -04:00
Anthony Scopatz
421a5c47cb Updated authorship for 2019.10.17 2019-10-17 16:34:43 -04:00
Anthony Scopatz
46d06fc390 rever fix 2019-10-17 16:34:06 -04:00
Anthony Scopatz
cc54e0c46a rever setup 2019-10-17 16:31:26 -04:00
Anthony Scopatz
e3d317163b initial rever 2019-10-17 16:14:51 -04:00
Anthony Scopatz
1269c232fd initial rever 2019-10-17 16:07:17 -04:00
Anthony Scopatz
eeed400b8c
Merge pull request #254 from TJProgrammer/master
More convenient info in Readme file.
2019-10-12 14:11:27 -04:00
Tiago Almeida
6af8c5909a More convenient info. 2019-10-12 13:30:49 +01:00
Anthony Scopatz
9f6482ef2c
Merge pull request #252 from crazcalm/add_python_async_keywords
Add python async and await keywords
2019-10-07 15:02:14 -04:00
Crazcalm
28d0c9f08c Add python keywords async and await to highlight list 2019-10-07 14:41:40 -04:00
Marcus Willock
98ad894b8a
Merge pull request #1 from scopatz/master
Updating fork
2019-10-07 14:36:31 -04:00
Anthony Scopatz
f7740b3442
Merge pull request #250 from TJProgrammer/master
Some thecnical information
2019-10-05 11:21:33 -04:00
Tiago Almeida
92d5125fa7 Correct typos 2019-10-05 15:17:58 +01:00
Tiago Almeida
857d4047c4 Correct typos 2019-10-05 15:16:52 +01:00
Tiago Almeida
225e9972ef Resolved merge conflict 2019-10-05 15:12:35 +01:00
Tiago Almeida
3bf1072f86 Update with some techical explanations...
This is for someone (like me) that doesn't know how nano works.
2019-10-05 15:00:43 +01:00
Anthony Scopatz
e4b5e155c8
Merge pull request #249 from msfjarvis/msf/gradle
Add Gradle syntax highlighting
2019-10-03 13:06:08 -04:00
Anthony Scopatz
71b75641f6
Merge pull request #248 from vpont/master
Fix regex error in Rnw.nanorc
2019-10-02 08:19:40 -04:00
Harsh Shandilya
b50db7f96e
Add Gradle syntax highlighting
Taken from https://lists.debian.org/debian-java/2015/10/msg00019.html

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 16:42:17 +05:30
Víctor Pont
1c96a4830f
Fix regex error in Rnw.nanorc
An error would show up:
Error en /home/user/.nano/Rnw.nanorc en la línea 19: Regex «([a-zA-Z0-9_-.$]*)\(» incorrecta: Final de rango inválido
The regex was invalid.
2019-10-02 11:08:36 +02:00
Anthony Scopatz
37c5b36068
Merge pull request #247 from matnovak-foi/master
Addded support for Rnw files
2019-09-25 16:08:42 -04:00
matnovak
d69a47ef8c Addded support for Rnw files 2019-09-25 10:54:00 +02:00
Anthony Scopatz
d8fcf5fd0f
Merge pull request #246 from SuperSandro2000/patch-1
Fix heading levels, remove quote sections
2019-09-13 14:34:25 -04:00
Sandro
d60e0a1b3a
Fix heading levels, remove quote sections 2019-09-13 13:36:00 +02:00
Anthony Scopatz
66df684e08
Merge pull request #244 from TJProgrammer/new_readme
New Readme file, with more organised information.
2019-09-13 07:25:06 -04:00
Tiago Programmer
c64805f3a6
Correct a typo 2019-09-13 00:35:14 +01:00
Tiago Almeida
d34d3661e3 New Readme file, with more organised information. 2019-09-13 00:16:01 +01:00
Anthony Scopatz
5873ea106f
Merge pull request #241 from Tenzer/improve-nanorc.nanorc
Widen support in nanorc.nanorc
2019-07-27 07:36:43 -07: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
Anthony Scopatz
7ae493a1e3
Merge pull request #239 from neenjaw/master
basic elixir highlighting
2019-07-22 11:27:29 -04:00