Henrik Lissner
aa70213f87
Fix "Keyword argument :when not one of" error
...
Occurs when expanding file templates with a :when clause.
+file-templates--expand wasn't anticipating it; throwing that error.
2018-06-24 22:23:09 +02:00
Henrik Lissner
f784ed3cbd
Update set-docset! documentation
...
And remove redundant documentation for obsolete :docset.
2018-06-24 22:23:09 +02:00
Henrik Lissner
14dfc9fad9
Add FIXMEs to def-setting!'s
...
They will be removed on the 2.1.1 release.
2018-06-24 17:13:23 +02:00
Henrik Lissner
69fc80d7cf
Revert "Fix evil-escape aborting multiedit too eagerly"
...
This reverts commit ba1488279b
.
This hack is no longer necessary now that syl20bnr/evil-escape#83 was
merged upstream.
2018-06-24 10:34:16 +02:00
Henrik Lissner
d78f702401
Update feature/workspaces tests
2018-06-23 22:17:15 +02:00
Henrik Lissner
863fa16bcc
Refactor +workspace/new: use persp-copy
...
Instead of manually adding buffers to new workspace.
2018-06-23 19:59:17 +02:00
Henrik Lissner
fbf7834d93
Don't delete workspace if visible in another frame
...
This leaves persp-mode in a semi-broken state.
2018-06-23 19:53:58 +02:00
Henrik Lissner
f6dc6ac74e
Refactor out map.el usage
...
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.
The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
Henrik Lissner
25bc9cfbaf
Fix +lookup/file in non-file-visiting buffers
...
Throws a stringp error is buffer-file-name is nil.
Reported by @myme
2018-06-22 13:42:47 +02:00
Henrik Lissner
4ad9e18135
+default/easymotion => +evil/easymotion
2018-06-22 12:02:31 +02:00
Henrik Lissner
e4cfdc7fcb
Use :when instead of (when ...) block
...
For loading dash docsets in feature/lookup module.
Fixes 'Cannot find package' load errors during byte-compilation.
2018-06-22 01:49:21 +02:00
Henrik Lissner
5531d7115a
Fix indentation for many autodef setters
2018-06-22 01:49:21 +02:00
Henrik Lissner
8c5deef5fc
Fix unintern calls (missing second argument)
2018-06-22 01:49:21 +02:00
Henrik Lissner
0d19b9e61c
Refactor +file-templates--expand
2018-06-22 01:49:21 +02:00
Henrik Lissner
13cb219e49
lang/common-lisp: improve evil+sly integration
2018-06-22 01:49:21 +02:00
Henrik Lissner
be48751a45
Change unsetting with set-lookup-handlers!
...
Instead of passing :unset, pass in nil as its second argument.
2018-06-22 01:49:20 +02:00
Henrik Lissner
60779c9aed
feature/version-control => ui/vc-gutter, emacs/vc
...
Reorganize vcs functionality. Moves the custom fringe bitmaps into :ui
vc-gutter.
2018-06-22 01:49:20 +02:00
Henrik Lissner
e05d7cfee0
Change flycheck initialization strategy
...
Initialize it globally and turn it off where needed, instead of enabling
it on demand. Also fixes void-function: flycheck-mode errors when
:feature syntax-checker is disabled. This is experimental.
Indirectly fixes #710
2018-06-22 01:49:20 +02:00
Henrik Lissner
dbc7b667cf
Simplify set-docset! & add unset capability
...
Removed :add and :remove capabilities. Now appends the provided docset
to the mode's list of docsets, if one exists.
2018-06-22 01:49:20 +02:00
Henrik Lissner
ad2de8e2e5
Fix set-devdocs! not setting docsets properly
...
Would use MODES as a key, instead of mode.
2018-06-22 01:49:20 +02:00
Henrik Lissner
8bd9b24137
Add unset capability to set-file-template!
2018-06-22 01:49:20 +02:00
Henrik Lissner
50b34d2671
Fix org-mode file template precedence
...
Otherwise default .org template always takes precedence.
2018-06-20 18:39:44 +02:00
Henrik Lissner
17678992e2
Minor, general refactor of lookup autoload library
2018-06-20 18:39:44 +02:00
Henrik Lissner
65b2d5eb28
Update +lookup/(definition|references) docs
2018-06-20 18:39:44 +02:00
Henrik Lissner
099040c523
Add helm support to +lookup defs/refs fallback
...
Instead of hard-coding counsel+ivy support.
2018-06-20 18:39:44 +02:00
Henrik Lissner
6d020a6305
Change add :unset support to set-lookup-handlers!
...
And update its documentation.
2018-06-20 18:39:44 +02:00
Alois Janíček
222702b15a
feature/snippets: add missing autoload cookie
2018-06-20 09:17:13 +02:00
Henrik Lissner
6ce30d0116
add-yas-minor-mode!: fix void-variable: mode error
2018-06-20 02:33:24 +02:00
Henrik Lissner
c9014487b1
Restore workspaces on --restore later
...
doom-post-init-hook isn't late enough.
2018-06-19 16:43:51 +02:00
Henrik Lissner
af350aa09e
feature/workspaces: disable magit persisting
...
Too buggy!
2018-06-19 16:43:28 +02:00
Henrik Lissner
95b227f9fe
Fix docstring references to old settings
2018-06-19 15:01:25 +02:00
Henrik Lissner
d5adf4ccbc
Minor refactor of feature/workspaces
...
Improve error handling and update docstrings+comments
2018-06-19 15:00:15 +02:00
Henrik Lissner
d979c46ea2
Make +workspaces-load-session replace current
...
It should not merge with the current session.
2018-06-19 14:53:45 +02:00
Henrik Lissner
8cb36afa21
Switch to last workspace after persp-load
...
A little more intuitive than just switching to main workspace.
2018-06-19 14:52:33 +02:00
Henrik Lissner
5f04be599f
feature/workspaces: persist indirect buffers
2018-06-19 14:50:27 +02:00
Henrik Lissner
e703d3ec8a
Fix default workspace tab faces
...
The inherited faces were double-quoted
2018-06-19 14:18:31 +02:00
Henrik Lissner
ba1488279b
Fix evil-escape aborting multiedit too eagerly
...
When evil-escape is invoked from multiedit-insert state, it erroneously
quits the current multiedit session entirely. No more.
This can be removed when syl20bnr/evil-escape#83 is merged.
2018-06-19 14:14:32 +02:00
Henrik Lissner
fa36014559
Allow set-yas-minor-mode! to accept multiple modes
2018-06-19 13:49:18 +02:00
Henrik Lissner
8f76ee9a8a
Refactor feature/snippets
...
+ Don't clear yas-minor-mode-map; the default keybinds can be useful,
esp to non-evil users.
+ Moved +snippets|enable-project-modes hook to autoloads file.
+ Reformat yasnippet config.
2018-06-19 13:49:15 +02:00
Henrik Lissner
ae6c3cacf2
Merge pull request #699 from Emiller88/feature/solidity-template
...
Add Solidity Template
2018-06-19 13:49:05 +02:00
Henrik Lissner
ccce20b581
set-evil-initial-state!: fix wrong-type-arguments
...
Caused when set-evil-initial-state! was used with a single mode (which
is 99% of the time!).
Indirectly fixes #696
2018-06-19 12:01:52 +02:00
Henrik Lissner
16b341e605
Move aya-persist-snippets-dir to doom-etc-dir
2018-06-19 12:01:51 +02:00
Edmund Miller
5ec74fdffb
Add Solidity Template
...
Add Trigger and basic file template
2018-06-18 20:29:37 -05:00
Henrik Lissner
615735a404
Add exato (x/html attribute text objects for evil)
...
Bound to x
2018-06-18 23:46:14 +02:00
Henrik Lissner
ca2c8b5a45
Minor refactor, across the board
...
Do you see the board? Now look at the other side. That's how far this
refactor extends.
Yes.
2018-06-18 15:02:24 +02:00
Henrik Lissner
6808c46b58
💥 Change set-popup-rule! usage
...
Now accepts a flat plist of all its former parameters, including new
:parameters and :actions properties to increase your control over the
fate of your windows.
The old usage of set-popup-rule! is deprecated and may not work right!
The :ui popup module has also seen a major refactor to improve
efficiency and load times.
Sorry! This is the last "big" change before 2.1!
2018-06-18 02:34:16 +02:00
Henrik Lissner
19f1c70144
Refactor company keybinds
...
Also merge evil-collection-company into Doom.
Two new features to note: C-S-s will invoke your completion engine for
the remaining results.
2018-06-17 16:43:10 +02:00
Henrik Lissner
17981d6a61
Conform hook names to conventions
...
Also minor reformatting & comment corrections.
2018-06-17 02:25:12 +02:00
Henrik Lissner
5e23429309
Fix set-devdocs!
...
Was not applying to all MODES and was using incorrect variable (docsets
-> docset), causing a void-variable error.
2018-06-16 21:16:24 +02:00
Henrik Lissner
44363cae40
General, minor refactor & revision
...
Across the board. All the boards.
2018-06-16 12:26:58 +02:00