Commit graph

28 commits

Author SHA1 Message Date
Henrik Lissner
bc4fb8f18e
Fix helm macro errors due to load order
Some packages (like evil-collection and dumb-jump) use helm macros, but
Doom cannot ensure helm will be installed by the time these packages are
byte-compiled during installation. In fact, the default load order
prevents this.

Rather than imposing hard load order requirements, we just make sure
helm is higher on the packages list, so it gets installed sooner.
2018-06-05 14:08:29 +02:00
Henrik Lissner
de014a817b Move :lookup setting to autoload.el 2018-06-02 18:20:09 +02:00
Henrik Lissner
becc79089e
feature/lookup: fix void-function xref-backend-identifier-at-point error 2018-05-25 19:22:44 +02:00
Henrik Lissner
d7d9da2210
Appease byte-compiler san kun chan sama sensei de gozaru 2018-05-25 11:55:57 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
bb88411cc9
General minor refactor & docstring fixes 2018-05-14 20:55:55 +02:00
Henrik Lissner
1b6abf47ef
feature/lookup: fix counsel-dash not loading; use eww for docsets 2018-05-14 13:05:03 +02:00
Henrik Lissner
2bbee08105
feature/lookup: new command +lookup/file to replace gf 2018-05-14 13:05:03 +02:00
Henrik Lissner
57f383ef76
General revision of docstrings 2018-05-14 13:05:03 +02:00
Henrik Lissner
7630394210
feature/lookup: replace devdocs packages with devdocs-lookup
Improved search; now downloads index from devdocs.io and lets you
fuzzy-search its listing with ivy/helm.
2018-05-14 13:05:03 +02:00
Henrik Lissner
c05b16ee6f
Minor refactor/reformatting 2018-05-03 18:03:13 +02:00
Henrik Lissner
b92a83752a
feature/lookup: fix :lookup => :documentation setting 2018-04-23 06:06:04 -04:00
Henrik Lissner
7579110534
feature/lookup: fix lookup commands skipping to project text search 2018-04-23 01:19:50 -04:00
Henrik Lissner
6ba9259735
feature/lookup: support multiple lookup functions & minor modes in :lookup 2018-04-22 23:55:49 -04:00
ar1a
6fa8edcb22
update documentation for +lookup/documentation
gh is now K in normal mode
2018-04-03 01:13:06 +08:00
Henrik Lissner
412bf56f45
feature/lookup: make lookup commands add to jump list 2018-03-27 20:11:23 -04:00
Henrik Lissner
d06d4c4dde
feature/lookup: fix some windows not grabbing focus after lookups 2018-03-26 02:52:50 -04:00
Henrik Lissner
641e26431d
feature/lookup: use xref's symbol-at-point function in other lookups 2018-03-26 00:21:54 -04:00
Henrik Lissner
e41212bb7b
feature/lookup: fix +lookup/definition not fetching the correct identifier
Some xref backends have specialized thing-at-point implementations (such
as haskell's dante's xref backend), this fix uses them to fetch the
identifier at point.
2018-03-25 22:36:05 -04:00
Henrik Lissner
844e5191ad
feature/lookup: add rust, scs, gfm, nim & typescript defaults to devdocs 2018-03-14 18:48:10 -04:00
Henrik Lissner
e728e8d04f
feature/lookup: fix docset lookup & setting; add doom-etc-dir/docsets to default paths 2018-03-14 18:47:28 -04:00
Henrik Lissner
4ce521e26b
feature/lookup: fix xref-backend-identifier error from projectile-find-tag #385 2018-02-03 15:07:18 -05:00
Henrik Lissner
f663123f5a
feature/lookup: properly report errors in +lookup/online 2018-01-20 21:44:18 -05:00
Henrik Lissner
1024cfa23c
feature/lookup: fix invalid search engine error in +lookup/online
Caused because map-put returns the full provider cons cell, rather than
just the provider.
2018-01-20 21:43:31 -05:00
Henrik Lissner
392f04446f
General refactor (use map.el more)
+ map-delete is shorter and faster than assq-delete-all
+ map-put is simpler than the delete-then-set workflow
+ map-merge is great for merging default and user settings
2018-01-07 00:15:58 -05:00
Henrik Lissner
48b0a468d1
THOU SHALT NOT WORSHIP FALSE IDOLS, said the byte compiler
And I obeyed.
2018-01-06 04:24:38 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will
throw errors!

Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.

However, this is highly experimental! Expect edge cases.  Particularly
with org-mode and magit (or anything that does its own window
management).

Relevant to #261, #263, #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
1371d34149
💥 Replace feature/jump with feature/lookup
+ Adds Dash docset integration (with helm or ivy support)
+ Adds devdocs.io integration
+ Three new settings: :lookup, :devdocs and :docset
2018-01-04 17:11:54 -05:00