1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-24 18:59:47 +01:00
home-manager/tests/modules
Daniel Gorin d1f4d1514d
kakoune: escape showWhitespace separators
We were passing the separators for the `show-whitespaces` highlighter
verbatim. This was problematic in case one wanted to use, spaces,
quotes or `%` as separators since the resulting kakoune configuration
would be invalid.

According to kakoune's docs, the separator has to be one character
long, so we can use a simple rule for escaping them. It is possible
that people has been working this around by passing, e.g. `"' '"` as
separator in order to get a space (i.e., escaped explicitly by the
user), so we just let longer strings be used verbatim.

PR #1357
2020-08-12 22:44:33 +02:00
..
accounts git: quote sendemail section header 2019-01-29 18:28:55 +01:00
files files: add helper function mkOutOfStoreSymlink 2020-05-02 01:22:14 +02:00
home-environment tests: improve test purity 2020-04-24 21:46:34 +02:00
misc fontconfig: disable multiple font packages test 2020-07-31 17:30:57 +02:00
programs kakoune: escape showWhitespace separators 2020-08-12 22:44:33 +02:00
services dropbox: add module 2020-07-25 23:12:33 +02:00
systemd tests: update nmt 2020-04-10 01:01:20 +02:00
targets generic-linux: respect NIX_STATE_DIR 2020-06-14 23:34:53 +02:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00