From: Kyle Meyer <notifications@github.com>
To: kyleam/snakemake-mode <snakemake-mode@noreply.github.com>
Cc: Kyle Meyer <kyle@kyleam.com>,
Your activity <your_activity@noreply.github.com>
Subject: Re: shell/bash highlighting? (#25)
Date: Fri, 16 Feb 2018 17:37:53 -0800 [thread overview]
Message-ID: <kyleam/snakemake-mode/issues/25/366404799@github.com> (raw)
In-Reply-To: <kyleam/snakemake-mode/issues/25@github.com>
[-- Attachment #1: Type: text/plain, Size: 782 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 3012 bytes --]
next prev parent reply other threads:[~2018-02-17 1:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 2:19 shell/bash highlighting? (#25) Elmar Pruesse
2018-02-12 3:41 ` Kyle Meyer
2018-02-12 8:46 ` Endre Bakken Stovner
2018-02-12 8:48 ` Endre Bakken Stovner
2018-02-12 20:44 ` Elmar Pruesse
2018-02-13 1:32 ` Kyle Meyer
2018-02-17 1:37 ` Kyle Meyer [this message]
2020-04-13 23:52 ` Kyle Meyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://git.kyleam.com/snakemake-mode
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=kyleam/snakemake-mode/issues/25/366404799@github.com \
--to=notifications@github.com \
--cc=kyle@kyleam.com \
--cc=reply+0013cd7ce86b47553d60695ba7fa0a42ee33356482da2a8492cf00000001169f497192a169ce11a86e39@reply.github.com \
--cc=snakemake-mode@noreply.github.com \
--cc=your_activity@noreply.github.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.kyleam.com/snakemake-mode/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).