[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] Bash syntax highlighting: Quoted text in comments
From: |
Benno Schulenberg |
Subject: |
Re: [Help-nano] Bash syntax highlighting: Quoted text in comments |
Date: |
Mon, 16 Jul 2018 21:42:43 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Hello Micah,
Thanks for sharing.
Op 15-07-18 om 20:03 schreef Micah Waddoups:
> Actually this can be fixed
What can be fixed? As you're top-posting, it is entirely unclear
to what statement of me or Michael you are responding -- I would
have to scroll down first, read *all* that is written there, and
then try to guess where your reply makes the most sense. Don't
make me do that: post your replies inline.
> Instead of simply having a pattern that matches the item you want, you have
> to have a stack of patterns with a sub-pattern match preceding the actual
> match in order to set the context.
I don't understand this. But... seeing in your zsh.nanorc things
like "(\((\((\((\((\((\((\((\((\([^()]*\)|[...", my mind goes numb.
Indeed, *very* complicated. I wouldn't call this a solution. Things
must be more or less comprehensible, and typable, if they are to be
called a solution.
> but if I have lines that are crazy long (usually a bad idea anyway), the regex
> matching whenever scrolling creates noticeable delays.
You mean your zsh.nanorc is so complicated, has such long regexes,
that it causes delays when scrolling through a zsh script?
Benno
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-nano] Bash syntax highlighting: Quoted text in comments,
Benno Schulenberg <=