summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin Song <4605384+chipbuster@users.noreply.github.com>2021-01-09 03:29:47 -0600
committerGitHub <noreply@github.com>2021-01-09 10:29:47 +0100
commit3fc9f490bb91bc497e90cd669ea32fa1cc28918b (patch)
tree60953929079bf9b6a39668d50515e50165fbce69 /src
parentc4b99ef7fa42c6e76ad028fcc5006778e3ee7779 (diff)
docs: Comment about spaces in nix-shell config (#2106)
* Add comment about doublespace in nix-shell config * docs: Add a semantic PR commit to appease the bot
Diffstat (limited to 'src')
-rw-r--r--src/configs/nix_shell.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configs/nix_shell.rs b/src/configs/nix_shell.rs
index b269dcaca..144bf3e72 100644
--- a/src/configs/nix_shell.rs
+++ b/src/configs/nix_shell.rs
@@ -12,6 +12,9 @@ pub struct NixShellConfig<'a> {
pub disabled: bool,
}
+/* The trailing double spaces in `symbol` are needed to work around issues with
+multiwidth emoji support in some shells. Please do not file a PR to change this
+unless you can show that your changes do not affect this workaround. */
impl<'a> RootModuleConfig<'a> for NixShellConfig<'a> {
fn new() -> Self {
NixShellConfig {