Commit Graph

533 Commits

Author SHA1 Message Date
d01926a7c3 Fix void-function treemacs--is-visible? error 2018-08-06 11:18:26 +02:00
860dff3e63 completion/helm: refactor posframe config 2018-08-05 00:39:54 +02:00
c1e2919294 completion/helm: set default window height = 22%
A little smaller than the default
2018-08-04 18:42:29 +02:00
c4ec1413dc ui/treemacs: update function name
Due to change upstream
2018-08-04 12:18:54 +02:00
4489ce6b81 ui/popup: refactor hacks 2018-08-04 00:00:16 +02:00
4db89a2fb4 Remove treemacs popup hack
Now that it is supported upstream.

Relevant to #766
2018-08-03 19:15:46 +02:00
417736ecf6 Move hideshow config from ui/doom->emacs/hideshow 2018-08-03 18:20:27 +02:00
0b130d7b9a ui/modeline: fix spacing issues with flycheck/vc 2018-08-03 18:07:06 +02:00
76868fe48d ui/modeline: allow more options for bar 2018-08-03 18:06:44 +02:00
50a82e72f6 ui/doom: enable solaire-mode in doom-tomorrow-night 2018-08-03 16:35:42 +02:00
4731f82766 ui/modeline: disable no-checker flycheck indicator 2018-08-02 03:50:51 +02:00
d2ecd87739 Fix ivy completion when treemacs is open
Caused by incorrectly initialized treemacs popup hack.
2018-08-02 03:31:20 +02:00
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
4a14df9254 Add mode-line-process to :main & :special formats 2018-08-01 01:48:22 +02:00
0cdb736670 Default modeline segments to :init
Fixes buffer-id in non-file-visiting buffers.
2018-08-01 01:47:45 +02:00
8272d8e98f ui/modeline: rpad +modeline-flycheck 2018-08-01 01:14:36 +02:00
fb3d385211 ui/modeline: add flycheck segment 2018-07-31 18:40:54 +02:00
b3f2a8cd54 ui/modeline: minor refactor
Add +modeline-segment-active-p predicate function.
2018-07-31 18:40:30 +02:00
b62e40b10b ui/modeline: add +modeline-width option 2018-07-31 16:54:38 +02:00
70e0280db3 Don't byte-compile modeline format functions
Fixes unused lexical arg warnings when starting up.
2018-07-30 23:50:03 +02:00
59f869bf5e ui/modeline: update comments & benchmarks 2018-07-30 23:10:18 +02:00
1211c2c7f7 Fix incorrectly rendered icons in modeline #773
And possibly fix bytecomp warnings about unused lexical variables.
2018-07-30 23:00:35 +02:00
cbc59f9333 Appease the byte-compiler 2018-07-30 12:10:11 +02:00
55870458e6 Byte-compile mode-line segment :eval forms
Byte-compiled function calls are ~10% faster than evalling quoted forms.
2018-07-30 02:57:50 +02:00
1205db0f73 Decouple :modeline popup rule from modeline API
The :modeline property still takes:

  t => default modeline
  nil => no modeline (the default)

But now also accepts:

  function => uses its return value as the mode-line-format
  anything non-nil => used directly as the mode-line-format

This is to decouple the popup API from the modeline API. You can still
use them compositionally:

  (set-popup-rule "abc" :modeline (lambda () (set-modeline! :project)))
2018-07-30 02:57:50 +02:00
923093b263 Don't set buffer-read-only in +doom-dashboard-mode
This is already set by the parent mode, special-mode.
2018-07-29 19:31:33 +02:00
088480047c Polish & move new modeline into :ui modeline
Removes modeline library out of core-ui and contains them in :ui
doom-modeline and :ui modeline.

:ui modeline will eventually replace :ui doom-modeline, but is still
considered experimental. This update provides makes it much more stable
and closer to being feature complete.
2018-07-29 19:31:32 +02:00
9abafcf74a Rename def-modeline! -> def-modeline-format!
As to differentiate it from the old def-modeline! macro. This only
affects users of the +new modeline.
2018-07-29 17:41:55 +02:00
f58f3c3604 ui/nav-flash: refactor
+ Add +nav-flash-exclude-commands to control where
  +nav-flash-blink-cursor-maybe should not trigger nav-flash.
+ Rename API to conform to Doom naming conventions
  + +nav-flash-blink-cursor
  + +nav-flash-blink-cursor-maybe
  + +nav-flash|delayed-blink-cursor
  + +nav-flash|blink-cursor
  + +nav-flash|blink-cursor-maybe
  + +nav-flash*blink-cursor
2018-07-24 20:04:03 +02:00
399194e868 Autoload +popup--init
Fixes #766
2018-07-21 14:00:02 +02:00
28e21352ec Have popup manager handle treemacs windows
Other windows would be resized slightly incorrectly because treemacs
opens as a fixed split, rather than a side window. This change forces it
to be a side window, which resolves the problem _and_ restores the
functionality of balance-windows, which is disabled when a fixed split
is present.
2018-07-21 01:20:59 +02:00
7f284e98b6 Fix helm-M-x help popup not properly closing
On successive TAB presses on a command
2018-07-21 01:20:05 +02:00
8756837036 ui/treemacs: disable treemacs-follow-mode
Can be disruptive if you've got many windows with buffers across
different projects. Also, SPC o P is available to "jump to current file"
in the treemacs window.
2018-07-19 03:38:52 +02:00
76d90e752f Update git-gutter on magit stage/unstage file
Old magit-post-refresh-hook wasn't working (no guarantee the correct
buffer was current).
2018-07-12 18:47:54 +02:00
0c63298253 No prettify-symbols-mode in special modes
Fixes issues with magit popups losing their color.
2018-07-12 16:43:37 +02:00
e4778f9923 Disable treemacs-follow-mode by default
This has proven intrusive, especially when you have files from different
projects open and you switch between them rapidly. Enabling
treemacs-follow-mode is left up to the user. Otherwise, the SPC o P
keybind and treemacs-find-file command can this manually and on-demand.

Also remove hide-mode-line-mode from treemacs because it's redundant
with the doom-themes treemacs icon theme.
2018-07-10 23:08:05 +02:00
b5c57ab6e4 Don't trigger nav-flash in special windows 2018-07-10 23:05:39 +02:00
35b76ee49b Enable minimalistic icon theme for treemacs
Still experimental.
2018-07-10 23:05:01 +02:00
ba4d72713a Don't set mode-line if format doesn't exist 2018-07-10 21:48:52 +02:00
0cd32b5f1d Add selection info segment to new modeline 2018-07-10 21:48:32 +02:00
043dc4e875 Update dashboard on +doom-dashboard/open 2018-07-10 17:46:31 +02:00
ae21b90278 Merge pull request #748 from aidangilmore/develop
ui/pretty-code: Added support for PragmataPro font
2018-07-09 23:52:16 +02:00
b8179ca236 ui/pretty-code: Added support for PragmataPro font 2018-07-09 14:38:31 -04:00
04c66829eb Don't init prettify-symbols-mode in special modes
Or eshell, term and comint modes.
2018-07-08 13:43:18 +02:00
10daa435f7 Document :ignore property in set-popup-rule! 2018-07-07 11:44:47 +02:00
1a068f82f1 Add +workspace/load-last-session
And fix the load last session button on dashboard.
2018-07-07 11:41:24 +02:00
2fa8599364 ui/pretty-code: fix wrong-number-of-args: eq error
And minor refactor
2018-07-06 20:42:51 +02:00
9f769fa985 Merge branch 'jseba-develop' into develop
* jseba-develop:
  ui/pretty-code: general refactor & fix premature )
  Fix & document set-pretty-symbols!
  Fix major mode symbols
  Support for multiple ligature'd fonts
2018-07-06 20:32:35 +02:00
fc87a72904 ui/pretty-code: general refactor & fix premature ) 2018-07-06 20:32:00 +02:00
2a125000ae Fix & document set-pretty-symbols! 2018-07-06 20:31:59 +02:00