Re: D syntax highlighting in Nano

2023-08-10 Thread Doigt via Digitalmars-d-announce

On Thursday, 10 August 2023 at 10:02:06 UTC, Dejan Lekic wrote:

Cool, I have one for years: https://paste.ee/p/V485T
I will definitely borrow some parts of yours!


I don't know what you'll borrow, yours seem to have things I 
didn't even think about


Re: D syntax highlighting in Nano

2023-08-10 Thread Dejan Lekic via Digitalmars-d-announce

On Tuesday, 8 August 2023 at 00:43:59 UTC, Doigt wrote:
Would be nice to have feedback. I made a PR for the improved 
nano syntax project because I don't have a gitlab account to 
contribute directly to the nano project, but feel free to fork 
and do it yourself if you feel it's important/good enough.


Here's the PR:
https://github.com/galenguyer/nano-syntax-highlighting/pull/2


Cool, I have one for years: https://paste.ee/p/V485T
I will definitely borrow some parts of yours!


Re: D syntax highlighting in Nano

2023-08-09 Thread Walter Bright via Digitalmars-d-announce

On 8/9/2023 7:25 PM, Doigt wrote:
whoa that's pretty cool you could do it in D, I had to write my syntax file 
using regexes :-(


I feel so sorry for you!


Re: D syntax highlighting in Nano

2023-08-09 Thread Doigt via Digitalmars-d-announce

On Wednesday, 9 August 2023 at 23:51:08 UTC, Walter Bright wrote:

Nice! For fun, here's the one I wrote for microEmacs:

https://github.com/DigitalMars/med/blob/master/src/med/syntaxd.d


whoa that's pretty cool you could do it in D, I had to write my 
syntax file using regexes :-(


Re: D syntax highlighting in Nano

2023-08-09 Thread Walter Bright via Digitalmars-d-announce

On 8/7/2023 5:43 PM, Doigt wrote:
Would be nice to have feedback. I made a PR for the improved nano syntax project 
because I don't have a gitlab account to contribute directly to the nano 
project, but feel free to fork and do it yourself if you feel it's 
important/good enough.


Here's the PR:
https://github.com/galenguyer/nano-syntax-highlighting/pull/2


Nice! For fun, here's the one I wrote for microEmacs:

https://github.com/DigitalMars/med/blob/master/src/med/syntaxd.d