Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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