From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 16 Feb 2018 17:37:53 -0800 From: Kyle Meyer Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: shell/bash highlighting? (#25) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5a8787717ecb2_6ff42ab3265baec445745"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer , Your activity ----==_mimepart_5a8787717ecb2_6ff42ab3265baec445745 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit OK, so I've played around with adding the different fontification for the minilanguage parts, and ... I really don't like it! :) I think the thing is, my brain is so used to a break in the string fontfication signaling the end of a string, so all my strings just look broken. Dunno, perhaps it's something I'd get used to. To try this out yourself, you could do something like (changing `font-lock-variable-name-face` to whatever face you'd like): ``` (add-to-list 'snakemake-font-lock-keywords `("{[^}]+}" 0 font-lock-variable-name-face t)) ``` What do others think? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/25#issuecomment-366404799 ----==_mimepart_5a8787717ecb2_6ff42ab3265baec445745 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

OK, so I've played around with adding the different fontification for = the minilanguage parts, and ... I really don't like it! :) I think the t= hing is, my brain is so used to a break in the string fontfication signal= ing the end of a string, so all my strings just look broken. Dunno, perh= aps it's something I'd get used to.

To try this out yourself, you could do something like (changing = font-lock-variable-name-face to whatever face you'd like):

(add-to-list 'snakemake-font-lock-keywords
             `("{[^}]+}" 0 font-lock-variable-name-face t))

What do others think?

&m= dash;
You are receiving this because you are subscribed to this thre= ad.
Reply to this email directly, view it on GitHub= , or mute the thread.

= ----==_mimepart_5a8787717ecb2_6ff42ab3265baec445745--