Commit graph

4000 commits

Author SHA1 Message Date
Henrik Lissner
cf55049a17
Disable sp-ruby-*-handler handlers correctly
Reported by @ar1a
2018-07-07 00:32:45 +02:00
Henrik Lissner
a0b0964355
lang/ruby: fix rbenv version detection 2018-07-06 23:58:11 +02:00
Henrik Lissner
0a577f3a0e
lang/python: fix pyenv version detection #736 2018-07-06 23:56:50 +02:00
Henrik Lissner
55f692491e Merge branch 'ar1a-ruby-revamp' into develop
* ar1a-ruby-revamp:
  Cleanup robe processes killing last ruby buffer
  Refactor lang/ruby & remove +ruby-ask-for-server
  lang/ruby: fix type (enh-ruby-ode)
  lang/ruby: what's 'this' lol
  lang/ruby: Add rubocop binds
  lang/ruby: bit more refactoring
  lang/ruby: Initial work on porting to enh-ruby
2018-07-06 23:35:11 +02:00
Henrik Lissner
00d6e7b9ca
Cleanup robe processes killing last ruby buffer
Experimental?
2018-07-06 23:11:26 +02:00
Henrik Lissner
f5f87ee0a3
Refactor lang/ruby & remove +ruby-ask-for-server
To conform to conventions and remove redundancies (like activating
flycheck-mode, which is global now).

Also, should now silently create a robe server.
2018-07-06 22:38:01 +02:00
Henrik Lissner
2fa8599364
ui/pretty-code: fix wrong-number-of-args: eq error
And minor refactor
2018-07-06 20:42:51 +02:00
Henrik Lissner
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
Henrik Lissner
fc87a72904
ui/pretty-code: general refactor & fix premature ) 2018-07-06 20:32:00 +02:00
Henrik Lissner
2a125000ae
Fix & document set-pretty-symbols! 2018-07-06 20:31:59 +02:00
Aria Edmonds
372f02b6c0 lang/ruby: fix type (enh-ruby-ode) 2018-07-06 23:56:10 +10:00
Aria Edmonds
811290368c lang/ruby: what's 'this' lol 2018-07-06 23:56:10 +10:00
Aria Edmonds
12b32d6208 lang/ruby: Add rubocop binds 2018-07-06 23:56:10 +10:00
Aria Edmonds
6b1265ae5a lang/ruby: bit more refactoring 2018-07-06 23:54:56 +10:00
Henrik Lissner
29ae7f935f
Add eshell/mkdir-and-cd command
I'd recommend aliasing this to mkdircd or take.
2018-07-06 15:34:26 +02:00
Henrik Lissner
633b5b764d
Apply smartparens {} fix to enh-ruby-mode too
Fixes:

  {|} => {
    |
  }

in enh-ruby-mode buffers too

Reported by @ar1a
2018-07-06 15:34:26 +02:00
Aria Edmonds
3f553b0a71
lang/ruby: Initial work on porting to enh-ruby 2018-07-06 23:32:06 +10:00
Henrik Lissner
0b7faa468c
Fix which-key sharing windows with other popups
Which-key is now lazy-loaded, so the modified which-key-popup-type gets
overwritten.
2018-07-06 14:57:40 +02:00
Henrik Lissner
3443cd870a
Disable magit-auto-revert-mode
Because we already use global-auto-revert-mode, but because it's lazy
loaded, the magit-autorevert package may not notice, and will enable
magit-auto-revert-mode anyway.
2018-07-06 13:39:42 +02:00
Henrik Lissner
eb79760c66
ivy-rich-switch-buffer-pad => ivy-rich-pad
To match upstream changes.

Reported by @sarg
2018-07-06 12:17:29 +02:00
Josh Seba
fff9547763 Fix major mode symbols 2018-07-05 22:09:29 -07:00
Josh Seba
a7cba67fd6 Support for multiple ligature'd fonts
Refactors the ligature configuration to support more than just Iosevka
(uses Fira Code as the second font).
2018-07-05 19:37:06 -07:00
Henrik Lissner
15f66f4b52
Add doom|disable-show-paren-mode hook
For disabling show-paren-mode buffer-locally.
2018-07-06 01:06:13 +02:00
Henrik Lissner
80a3c9bf62
Fix company-box not showing lone candidates
Revert this once sebastiencz/company-box#40 is merged.
2018-07-05 21:45:44 +02:00
Henrik Lissner
dfed54c7ad
Shrink oversized company-box icons
This would cause lines in company-box frames to be too large, making the
last candidate seem cut off by the frame edge.
2018-07-05 21:40:34 +02:00
Henrik Lissner
c38d324663
Make banner customizable
Add banner-file and banner-dir variables. If banner-file is nil, use
ASCII banner.
2018-07-05 14:33:48 +02:00
Henrik Lissner
2d30d996c3
Refactor counsel-find-file actions
Conform them to naming conventions & only autoload the functions that
aren't used immediately.
2018-07-05 14:05:09 +02:00
Henrik Lissner
cd26e11e94
Merge pull request #740 from fuxialexander/counsel_find_file_action
Add ivy action to counsel-find-file and counsel-projectile-switch-project
2018-07-05 13:49:04 +02:00
Henrik Lissner
4ebbf8f056
Fix variable height org-level-N faces in eldoc
It only uses the face's :foreground, which should be enough, but it
prevents the minibuffer from being resized when eldoc displays
breadcrumbs in org-mode.
2018-07-05 13:44:34 +02:00
Henrik Lissner
b67745a9b6
Don't show "Open user manual" button
...unless the manual exists (it will soon)!
2018-07-05 12:37:05 +02:00
Henrik Lissner
3a1ba5381e
Use +default/find-in-config instead on dashboard
Instead of browse-config.
2018-07-05 12:36:32 +02:00
Henrik Lissner
1fa4c65c3a
ui/doom-dashboard: minor refactor 2018-07-05 01:32:04 +02:00
Henrik Lissner
ad5470ce3f
Make org-export-directory an obsolete alias
Slow down to give people time to transition.
2018-07-04 23:57:17 +02:00
Henrik Lissner
030e80d202
Refactor lang/org/+export
+ Changed org-export-directory to +org-export-dir (conform to naming
  convention). It turns out org-export-directory never existed in org.
+ Make org-export-backends addition (for ox-pandoc) idempotent.
+ Fix redundant forward slash in org-publish-timestamp-directory.
+ Resolve export directory later, giving the user a larger window to
  change +org-export-dir.
2018-07-04 23:52:29 +02:00
Henrik Lissner
f949df5646
Reformat ui/doom-dashboard tests 2018-07-04 23:14:31 +02:00
Henrik Lissner
ebd4d19fa4
Fix +doom-dashboard-p 2018-07-04 23:14:12 +02:00
Henrik Lissner
57bad58dea
Fix SPC h D keybind (wrong command name) 2018-07-04 23:09:07 +02:00
Henrik Lissner
c55d6dad17
Reduce coupling with buffers library and dashboard 2018-07-04 23:06:47 +02:00
Henrik Lissner
0b1cb1bb48
Look up command binds dynamically in dashboard
Keys are no longer hard coded.

cc @UndeadKernel
2018-07-04 23:05:49 +02:00
Henrik Lissner
a406b2d0c8
Ignore errors if display-buffer ALIST is malformed
The gud.el library uses display-buffer incorrectly, by passing a list of
functions as its second argument, instead of as a nested list.

CORRECT:
  (display-buffer buffer
    '((display-buffer-reuse-window
       display-buffer-in-previous-window
       display-buffer-same-window display-buffer-pop-up-window)))

INCORRECT (how gud does it):
  (display-buffer buffer
    '(display-buffer-reuse-window
      display-buffer-in-previous-window
      display-buffer-same-window display-buffer-pop-up-window))

This causes "wrong-type-argument: listp
display-buffer-in-previous-window" error. However, it appears Emacs
handles malformed alists by just ignoring them, so Doom will do the
same.

Reported by @maskray
2018-07-04 21:42:33 +02:00
Henrik Lissner
57020cdfdb
Fix void-variable after-focus-change-function error
The condition was the wrong way around.
2018-07-04 21:26:20 +02:00
Henrik Lissner
daa05eb7f2
Fix regexp for realgud popup rule
Causing invalid-regexp errors.
2018-07-04 21:23:56 +02:00
fuxialexander
0df9bae16b don't override original actions 2018-07-05 00:38:41 +08:00
fuxialexander
8f74ce982d add action for counsel-projectile-switch-project 2018-07-04 23:59:36 +08:00
fuxialexander
a906b82788 add action for counsel-find-file 2018-07-04 23:59:18 +08:00
Henrik Lissner
f5e8c72bb6
Add experimental modeline (disabled by default)
This mode-line may have bugs and its implementation details are certain
to change (it doesn't follow naming conventions, for instance). It also
doesn't have all the features of the old modeline (yet).

However, it is easily twice as fast as the original, and a little more
flexible, what with the `mode-line-format-left' and
`mode-line-format-right' variables. It also exposes a more powerful API
for defining modelines and modeline segments (and switching between
them).

It is disabled by default and must be activated with the +new module
flag on the ui/doom-modeline module.
2018-07-04 17:49:44 +02:00
Henrik Lissner
ee4060ab80
Add image banner display logic to dashboard
But disabled by default (until the logo is ready).
2018-07-04 16:20:02 +02:00
Henrik Lissner
e37e6fc25c
Fix invalid face: quote errors in dashboard 2018-07-04 15:33:15 +02:00
Henrik Lissner
c9ffa063e7
Fix +org/insert-item in nested plain lists
Would prepend new list items in the middle of plain lists, rather than
before them.
2018-07-04 14:19:22 +02:00
Henrik Lissner
99ab08afe8
Add SPC o a keybind (org-agenda-list) 2018-07-04 14:09:56 +02:00