From de99b79f4500c488685bb48386a19165c6501c9b Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 20 Jul 2020 22:38:06 +0200 Subject: [PATCH] Change github tab width to 4 in userContent.css --- .emacs.d/config.org | 3 +++ .mozilla/firefox/rick.profile/chrome/userContent.css | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index b666b3e..e2d693e 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -530,6 +530,9 @@ https://github.com/laishulu/hl-fill-column (setq show-paren-delay 0) (setq show-paren-style 'mixed) + ;; End sentences with a single space + (setq sentence-end-double-space nil) + ;; Enable line numbers (global-display-line-numbers-mode) diff --git a/.mozilla/firefox/rick.profile/chrome/userContent.css b/.mozilla/firefox/rick.profile/chrome/userContent.css index 88797cb..38f408e 100644 --- a/.mozilla/firefox/rick.profile/chrome/userContent.css +++ b/.mozilla/firefox/rick.profile/chrome/userContent.css @@ -21,6 +21,17 @@ .postContainer.replyContainer .post.reply { width: 100% } } +@-moz-document domain("github.com") { + :root{ + --tab-size: 4; + } + + .blob-code-inner, pre, code, tt { + -moz-tab-size: var(--tab-size); + tab-size: var(--tab-size); + } +} + @-moz-document domain("youtube.com") { /* Hide video player */ #player-theater-container {