davidhcefx
f0e9c6c863
Fix shellcheck error
2023-04-13 22:04:52 +08:00
davidhcefx
899b23e560
[Python] Improve colorings and fix bugs
...
- Improve colorings based on iPython (colors=Linux):
- Green for exceptions and function names.
- Red for keywords such as `from` and `not`.
- Cyan for keywords such as `for` and `if`.
- Fix empty strings not correctly highlighted.
- Fix block comments not correctly highlighted when nothing follows `===`.
- Add support for "TODO".
2023-04-13 22:04:42 +08:00
davidhcefx
440acf42e9
[PowerShell] Various Enhancements Based on highlight.js
...
- Basing on highlight.js, I enhanced the highlighting rules in various aspects.
- See also: https://github.com/scopatz/nanorc/pull/358
2023-04-13 22:04:31 +08:00
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
davidhcefx
92c5ada3c7
CI: Add highlight_test and badges
2022-03-08 09:04:38 +08:00
davidhcefx
c5edb55b20
CI: migrate from Travis CI to Github Actions
...
- Removed .travis.yml and shellcheck.sh
- Added CI badge to README
2022-03-08 06:18:39 +08:00
davidhcefx
376f186c1d
Create shellcheck.yml
2022-03-08 06:08:44 +08:00
Anthony Scopatz
1aa64a86cf
Merge pull request #345 from anderseknert/Rego
...
Add support for Rego
2020-12-17 10:35:28 -06:00
Anders Eknert
88081acf78
Add support for Rego
...
The policy language of Open Policy Agent.
Signed-off-by: Anders Eknert <anders@eknert.com>
2020-12-17 09:42:22 +01:00
Anthony Scopatz
06f170cb40
Merge pull request #344 from palto42/sytsmed_timer_and_comments
...
systemd .timer & comments color for dark terminal
2020-11-24 13:15:41 -06:00
Anthony Scopatz
510517c93e
Merge pull request #342 from miku86/patch-1
...
Fix typo: "cotal" => "octal"
2020-11-24 13:15:00 -06:00
palto42
15de1acdde
systemd .timer & comments color for dark terminal
2020-11-22 11:42:58 +01:00
Anthony Scopatz
4297786d09
Merge pull request #343 from moorscode/patch-1
...
Also highlight TypeScript (.ts) as JavaScript
2020-11-21 21:23:14 -06:00
Jip
ed51c7c00c
Also highlight TypeScript (.ts) as JavaScript
...
As TypeScript extends JavaScript to add types, the basics of JavaScript still apply.
This change will parse `.ts` files as if they are JavaScript files, providing basic highlighting support.
2020-11-21 23:28:55 +01:00
miku86
342d31a7b1
Fix typo: "cotal" => "octal"
2020-11-19 16:49:48 +01:00
Anthony Scopatz
6130726c7f
Merge pull request #339 from palto42/ini_comments
...
Adjusted comment color of ini files for visibility on dark terminals
2020-11-08 15:41:52 -06:00
palto42
a66a284004
comment color for visibility on dark terminals
2020-11-08 09:00:24 +01:00
Anthony Scopatz
6807e67d2d
Updated authorship for 2020.10.10
2020-10-10 14:25:18 -05:00
Anthony Scopatz
11b7039c24
authors update
2020-10-10 14:24:15 -05:00
Anthony Scopatz
c676fc4915
Merge pull request #336 from int-ua/patch-1
...
Highlight second curly bracket in html.nanorc
2020-10-08 11:12:38 -05:00
Serhiy Zahoriya
b67784acaf
Highlight second curly bracket in html.nanorc
2020-10-08 18:43:13 +03:00
Anthony Scopatz
b0be31cd84
Merge pull request #334 from Fedict/GH-333-sparql
...
GH-333 initial sparql support
2020-10-07 15:17:30 -05:00
Bart Hanssens
5a29d4957c
GH-333 initial sparql support
...
Signed-off-by: Bart Hanssens <bart.hanssens@bosa.fgov.be>
2020-10-07 18:32:33 +02:00
Anthony Scopatz
b34c716167
Merge pull request #332 from Exonorid/zig
...
Added support for Zig
2020-10-05 11:29:44 -05:00
Exonorid
cca764ce6c
Added support for Zig
2020-10-02 00:46:00 -07:00
Anthony Scopatz
87befaf064
Merge pull request #331 from davidhcefx/master
...
A Better Syntax Highlighting for Batch-file Shell Script
2020-08-31 16:12:08 -05:00
davidhcefx
66c3512fab
Add a link
2020-09-01 05:05:02 +08:00
davidhcefx
79b2b9d951
Create batch.nanorc
2020-08-31 10:22:18 +08:00
davidhcefx
f9c86cd3b7
Delete batch.nanorc
2020-08-31 10:21:54 +08:00
Anthony Scopatz
bee93b333b
Merge pull request #330 from DanteFalzone0/master
...
Added highlighting for printf format specifiers
2020-08-27 09:48:44 -05:00
Dante Falzone
56b1d0af87
Added highlighting for printf format specifiers
2020-08-27 09:44:59 -05:00
Anthony Scopatz
b20013a049
Merge pull request #329 from DanteFalzone0/master
...
Fixed higlighting of inline comments in several languages
2020-08-27 09:33:16 -05:00
Dante Falzone
09d9216ff5
Fixed highlighting of inline comments in javascript.nanorc
2020-08-27 09:19:51 -05:00
Dante Falzone
4980f57239
Fixed higlighting of inline comments in java.nanorc
2020-08-27 09:18:20 -05:00
Dante Falzone
7d8b17832a
Fixed highlighting of inline comments in c.nanorc
2020-08-27 09:17:08 -05:00
Anthony Scopatz
dcad108a3b
Merge pull request #328 from czechuuu/master
...
Added highlighting for bool and ___bool__
2020-08-26 12:22:09 -05:00
czechuuu
bf2b6e4627
Added highlighting for bool and ___bool__
2020-08-26 19:13:33 +02:00
Anthony Scopatz
f92db0db98
Merge pull request #326 from Gaibhne/master
...
Add a red highlight to YAML lines with trailing whitespace
2020-08-14 15:02:12 -05:00
Joerg Stoever
1b25243ee2
Add a red highlight to YAML lines with trailing whitespace
2020-08-14 13:04:24 +02:00
Anthony Scopatz
1d1c3aa712
Merge pull request #324 from rashil2000/master
...
Added PowerShell support in Nano
2020-08-10 09:44:38 -05:00
Rashil Gandhi
ad73d1ba5b
Add PowerShell syntax file
2020-08-10 18:42:56 +05:30
Anthony Scopatz
b2d2eb3f3b
Merge pull request #323 from DanteFalzone0/master
...
Added support for Batch (CMD.EXE)
2020-08-05 14:11:35 -05:00
Dante Falzone
ee9ce56003
fixed file extension matching for batch.nanorc
2020-08-05 13:57:56 -05:00
Dante Falzone
94f8d695c1
Added support for Batch (CMD.EXE)
2020-08-05 13:56:49 -05:00
Anthony Scopatz
7e40acc1e3
Merge pull request #320 from earboxer/php-symbols
...
* PHP: Improve operator coloring, support Nowdocs, Heredocs
2020-07-18 14:19:41 -05:00
Zach DeCook
e50fb095bf
* PHP: Make paamayim nekodotayim same color as arrow
2020-07-15 14:52:33 -04:00
Zach DeCook
d307f5a75b
* PHP: Decrease priority of inline comment
2020-07-14 17:20:52 -04:00
Zach DeCook
421f4b36b2
* PHP: Improve operator coloring, support Nowdocs, Heredocs
2020-07-14 17:14:05 -04:00
Anthony Scopatz
4bc02fc561
Merge pull request #317 from msfjarvis/kotlin
...
kotlin: add sealed as a class modifier
2020-06-21 16:58:04 -05:00