Henrik Lissner
fd8f8c5108
feature/lookup: rewrite dash docset integration
...
+ Uses alist variable to store config, rather than hooks
+ Added check for installed docsets in +lookup/documentation
+ Set docsets for various language modules (c-mode, c++-mode, css-mode,
scss-mode, sass-mode, web-mode, go-mode, racket-mode, emacs-lisp-mode,
js2-mode, rjsx-mode, typescript-mode, rust-mode, and php-mode)
+ Made *eww* popups for dash docsets larger
+ Renamed set-docset! => set-docsets! (set-docset! is aliased to
set-docsets!)
+ New +lookup/install-docset alias
2018-08-31 02:49:48 +02:00
Henrik Lissner
60c03a78d9
Fix void-function treemacs-current-visibility error
...
Tried to use a function before it was defined.
2018-08-30 13:11:18 +02:00
Henrik Lissner
cab0ee33d1
ui/treemacs: fix SPC o P (treemacs-find-file)
...
Would create a blank treemacs window when invoked before a treemacs
window was first initialized.
2018-08-29 02:16:06 +02:00
Henrik Lissner
be8eedc296
Fix lost window state when toggling popups
...
Replaces af045213
with a method for preserving popup state.
2018-08-29 02:16:06 +02:00
Henrik Lissner
e866fc46aa
ui/treemacs: make hl-line stand out more #846
...
By remapping it to the region face. Perhaps another face would be a
better fit?
2018-08-28 13:30:51 +02:00
Henrik Lissner
d0295a26d4
ui/treemacs: show only one project #846
...
If you use +treemacs/toggle.
2018-08-28 13:28:01 +02:00
Henrik Lissner
e836ea8803
Merge pull request #835 from patrl/deft
...
:ui deft
2018-08-27 15:55:54 +02:00
Patrick Elliott
b3e08970d0
Merge branch 'deft' of https://github.com/patrl/doom-emacs into deft
2018-08-27 15:38:05 +02:00
Patrick Elliott
8508e931ca
Move to :ui
2018-08-27 15:37:29 +02:00
Henrik Lissner
a005fed274
Fix symlinks in modeline path segment
...
This would cause a lot of ../'s when opening a symlinked file.
2018-08-27 03:32:42 +02:00
Henrik Lissner
af045213e3
Preserve window state when toggling popups
...
e.g. size
2018-08-26 17:24:27 +02:00
Henrik Lissner
469aa81570
Forward-require dependencies in tests
...
Easier to see at a glance what the test's dependencies are.
2018-08-26 00:20:16 +02:00
Henrik Lissner
cc47798846
Revert 6b910392
#829
...
Causes other errors. Will need a better solution.
2018-08-25 12:00:27 +02:00
Henrik Lissner
6b91039283
Fix helm persistent action with *Org Links* window
...
Fixes #829 . Helm's persistent action would try to operate on the *Org
Links* window, which is dedicated, causing a "Cannot split side window
or parent of side window" error.
This fix gets rid of this unhelpful popup altogether when helm is
enabled.
2018-08-24 01:09:53 +02:00
Henrik Lissner
ed8a08226c
ui/modeline: install shrink-path
2018-08-23 17:27:31 +02:00
Henrik Lissner
bfa6fce15f
+popup/buffer: hide buffer being popped up #825
2018-08-23 17:12:49 +02:00
Henrik Lissner
641cef9848
Refresh vc when magit refreshes #826
...
Magit does not inform vc that changes have occurred to open buffers.
This fixes that (and indirectly fixes branch display in the modeline).
2018-08-23 17:09:59 +02:00
Henrik Lissner
e003c2aa6a
Remove :load-path
...
Accidentally snuck into a commit!
2018-08-22 22:44:22 +02:00
Henrik Lissner
dc9841b192
ui/modeline: refactor path builder & add other styles
...
This brings +doom-modeline-buffer-file-name styles to the new modeline
module, controlled by the +modeline-buffer-path-function variable.
The available functions are:
* +modeline-file-path-with-project: project/src/lib/file.c
* +modeline-file-path-from-project: src/lib/file.c
* +modeline-file-path-truncated-with-project: project/s/l/file.c
* +modeline-file-path-truncated-upto-project: ~/w/project/src/lib/file.c
* +modeline-file-path-truncated-upto-project-root: ~/w/p/s/lib/file.c
* +modeline-file-path-truncated: ~/w/p/s/l/file.c
* +modeline-file-name: file.c
The default is file-path-with-project.
2018-08-22 22:36:44 +02:00
Henrik Lissner
6282526743
ui/modeline: fontify project root separately
...
And add new doom-modeline-buffer-project-root face.
2018-08-22 22:28:53 +02:00
hackeryarn
2c6ae455f9
updated readme to use set-popup-rules!
2018-08-21 07:21:25 -05:00
Henrik Lissner
ee73d6c9af
Minor reformatting & comment tweaks
2018-08-21 03:34:39 +02:00
Henrik Lissner
6ab9cf6460
Switch org-agenda-list for org-agenda on dashboard
2018-08-17 04:10:11 +02:00
Henrik Lissner
c69543fecc
Fix helm not cooperating with other popups
...
Like the compilation window
2018-08-15 23:32:53 +02:00
Henrik Lissner
d692718ab4
Fix selecting deleted window error
...
Caused by focus/unfocus modeline fixes accessing possibly dead buffers.
2018-08-12 18:25:09 +02:00
Henrik Lissner
a24e4f51cd
ui/modeline: refocus after closing any posframe
2018-08-10 19:30:08 +02:00
Henrik Lissner
3e7c85244b
Improve modeline refocusing fixes
...
By affecting buffers instead of windows
2018-08-10 19:26:56 +02:00
Henrik Lissner
519330fcb1
Fix wrong-type-argument: treemacs-workspace error
...
Caused by changes upstream.
2018-08-10 18:52:20 +02:00
Henrik Lissner
b100fe332b
Slightly larger default +modeline-height (23)
2018-08-10 14:13:48 +02:00
Henrik Lissner
e33cb446aa
Refactor dashboard banner display & centering
2018-08-10 12:34:17 +02:00
Henrik Lissner
68dc510a1c
Refactor +modeline-file-path
...
Remove unused letvars and face management.
2018-08-09 12:58:26 +02:00
Henrik Lissner
78e4559465
Move mode-line-misc-info to front of :main rhs
...
This ensures any extraneous spacing it adds to the mode-line isn't
visible, without compromising plugins' ability to add information to
your modeline.
2018-08-07 22:52:02 +02:00
Henrik Lissner
b349dd3473
ui/popup: respect org-src-window-setup
2018-08-07 14:44:10 +02:00
Henrik Lissner
2a8b3e674a
ui/modeline: refactor focus/unfocus logic
...
And improves integration with helm
2018-08-06 22:41:44 +02:00
Henrik Lissner
4ab1bbbdba
Fix 'simple mode for +treemacs-use-git-mode
...
Due to pattern mismatch, 'simple mode was never activated.
2018-08-06 22:41:43 +02:00
Henrik Lissner
d01926a7c3
Fix void-function treemacs--is-visible? error
2018-08-06 11:18:26 +02:00
Henrik Lissner
860dff3e63
completion/helm: refactor posframe config
2018-08-05 00:39:54 +02:00
Henrik Lissner
c1e2919294
completion/helm: set default window height = 22%
...
A little smaller than the default
2018-08-04 18:42:29 +02:00
Henrik Lissner
c4ec1413dc
ui/treemacs: update function name
...
Due to change upstream
2018-08-04 12:18:54 +02:00
Henrik Lissner
4489ce6b81
ui/popup: refactor hacks
2018-08-04 00:00:16 +02:00
Henrik Lissner
4db89a2fb4
Remove treemacs popup hack
...
Now that it is supported upstream.
Relevant to #766
2018-08-03 19:15:46 +02:00
Henrik Lissner
417736ecf6
Move hideshow config from ui/doom->emacs/hideshow
2018-08-03 18:20:27 +02:00
Henrik Lissner
0b130d7b9a
ui/modeline: fix spacing issues with flycheck/vc
2018-08-03 18:07:06 +02:00
Henrik Lissner
76868fe48d
ui/modeline: allow more options for bar
2018-08-03 18:06:44 +02:00
Henrik Lissner
50a82e72f6
ui/doom: enable solaire-mode in doom-tomorrow-night
2018-08-03 16:35:42 +02:00
Henrik Lissner
4731f82766
ui/modeline: disable no-checker flycheck indicator
2018-08-02 03:50:51 +02:00
Henrik Lissner
d2ecd87739
Fix ivy completion when treemacs is open
...
Caused by incorrectly initialized treemacs popup hack.
2018-08-02 03:31:20 +02:00
Henrik Lissner
e79111ff54
Eval +modeline-major-mode live
...
It's a small segment. We can afford it being a little more greedy.
2018-08-01 15:01:27 +02:00
Henrik Lissner
4a14df9254
Add mode-line-process to :main & :special formats
2018-08-01 01:48:22 +02:00
Henrik Lissner
0cdb736670
Default modeline segments to :init
...
Fixes buffer-id in non-file-visiting buffers.
2018-08-01 01:47:45 +02:00