www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D syntax highlighting in Nano

reply Doigt <labog outlook.com> writes:
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
Aug 07 2023
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
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
Aug 09 2023
parent reply Doigt <labog outlook.com> writes:
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 :-(
Aug 09 2023
parent Walter Bright <newshound2 digitalmars.com> writes:
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!
Aug 09 2023
prev sibling parent reply Dejan Lekic <dejan.lekic gmail.com> writes:
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!
Aug 10 2023
parent Doigt <labog outlook.com> writes:
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
Aug 10 2023