Commit graph

15 commits

Author SHA1 Message Date
Henrik Lissner
5775714506
Fix #2666: init indent-guides faces on first GUI frame 2020-03-31 16:30:30 -04:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
bf85a03f5e
Don't disable indent-guides in visual-line-mode 2020-01-20 01:52:21 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
149b2617b0
💥 revise hook/var fns naming convention (2/2)
This is second of three big naming convention changes. In this commit,
we change the naming conventions for hook functions and variable
functions:

1. Replace the bar | to indicate a hook function with a -h suffix, e.g.

     doom|init-ui -> doom-init-ui-h
     doom|run-local-var-hooks -> doom-run-local-var-hooks-h

2. And add a -fn suffix for functions meant to be set on variables,
   e.g.

     (setq magit-display-buffer-function #'+magit-display-buffer-fn)

See ccf327f8 for the reasoning behind these changes.
2019-07-22 02:30:38 +02:00
Henrik Lissner
6dcbaef570
ui/indent-guides: don't omit first level of guides 2019-05-29 23:46:18 -04:00
Henrik Lissner
754dd75624
Update highlight-indent-guides faces on focus-in
The faces may go out of sync if you spawn a tty frame via the server.
Updating it when you switch frames is a workaround for this.
2019-05-19 02:18:26 -04:00
Henrik Lissner
f1ea7de76d
Fix color of indent guides in daemon sessions 2019-05-13 19:34:44 -04:00
Henrik Lissner
7443669b1e
Minor refactors & comment revision 2019-05-13 14:37:00 -04:00
Henrik Lissner
f7f96d3abb
ui/indent-guides: disable responsive guides
It substantially slows down Emacs, so I cannot endorse it as a default.
2019-05-12 00:56:14 -04:00
xhcoding
c6daca8e94
fix typo
fix Symbol’s value as variable is void: highlight-indent-guides
2019-03-25 10:01:54 +08:00
Henrik Lissner
29277c9b02
Disable indent guides in incompatible modes
e.g. visual-line-mode & org-indent-mode
2019-03-13 01:29:05 -04:00
Henrik Lissner
c5c3bdaa61
ui/indent-guides: set variables sooner
So you don't need after! to change them.
2019-03-11 16:46:55 -04:00
Henrik Lissner
8392c9dcf6
Add new :ui indent-guides module
Replaces old highlight-indentation-mode with new highlight-indent-guides
plugin.
2019-03-11 12:39:38 -04:00