This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-31
Channels
- # aleph (38)
- # beginners (91)
- # boot (4)
- # cider (20)
- # clara (11)
- # cljs-dev (4)
- # clojure (179)
- # clojure-greece (1)
- # clojure-italy (16)
- # clojure-portugal (1)
- # clojure-russia (1)
- # clojure-sanfrancisco (1)
- # clojure-spec (183)
- # clojure-uk (50)
- # clojurescript (111)
- # core-async (24)
- # cursive (4)
- # datascript (11)
- # datomic (29)
- # fulcro (120)
- # gorilla (2)
- # jobs (1)
- # keechma (2)
- # keyboards (26)
- # leiningen (4)
- # luminus (7)
- # lumo (15)
- # off-topic (2)
- # onyx (31)
- # parinfer (12)
- # portkey (1)
- # protorepl (1)
- # re-frame (50)
- # reagent (106)
- # remote-jobs (1)
- # ring-swagger (2)
- # rum (10)
- # spacemacs (17)
- # sql (16)
- # test-check (1)
- # yada (2)
Anyone know of any cool ways to mess with the line height of blank lines? I was just thinking about how I could use it to make some code a bit more readable. In ascending order of complexity, I was thinking I could: • change the line height of all blank lines, • change the line height of multiple blank lines, or • change the line height of blank lines by context (between base-level forms, defrecord methods, etc.)
one thing I would advice against is - messing with font-size and line-heights for different modes. For example I wanted font in shell to be a bit smaller. And I did find a way. What I didn't realize - it made spaceline and which-key to act very strange. Things suddenly become "jumpy", for a long time I couldn't figure out whatta heck, until one day it struck me - I reverted my change of messing with font-size
what you can do though is change the size of minor things. One example would be a window label for spacemacs/ace-delete-window
. When you have more that 2 windows and want to delete one, running that command would show the labels and prompt for the window you want to delete, I struggled to squint my eyes every time I pressed SPC w D
See also https://www.gnu.org/software/emacs/manual/html_node/elisp/Line-Height.html
@eggsyntax Do you know how to change the line height of only blank lines?
No worries. I know it was pretty specific, I was just wondering if someone else already had the idea 😃
Oooh, bet you could fork this & do it! https://github.com/cpitclaudel/compact-docstrings
Bet you could just change the 0.5 in this line to, say, 1.5: https://github.com/cpitclaudel/compact-docstrings/blob/master/compact-docstrings.el#L41