Commit graph

13 commits

Author SHA1 Message Date
GilbertWong
0e99b6b952
refactor!(erlang): remove company-erlang
BREAKING CHANGE: Remove `company-erlang` which depends on
`ivy-erlang-complete`. `company-erlang` and `ivy-erlang-complte` have
not been maintained now. The lsp mode provides much better experience
than `company-erlang` and `ivy-erlang-complete`. The
`ivy-erlang-complete` package also has the defect that slow down the
erlang-mode buffer when the buffer is huge enough. It is not a good
choice to integrate ivy-erlang-complete nowadays even as a non-LSP
option.
2022-01-04 10:44:18 +08:00
Henrik Lissner
62c1e5b6c9
Bump :checkers syntax
flycheck/flycheck@cd8e0a2 -> flycheck/flycheck@79c9245

Fixes #4264: flycheck-rebar3 moved into flycheck
2020-11-13 13:11:34 -05:00
Henrik Lissner
cf180bea92
Remove ivy-erlang-complete
It's redundant with company-erlang, which uses ivy-erlang-complete as a
backend anyhow.

Fixes #2786
2020-03-28 20:08:24 -04:00
Peter Steidel
1d91d9c6d6 Erlang LSP module improvements
- Add README.org
- Make it so other completion frameworks don't compete with the lsp module
- load lsp via erlang-local-vars-hook
2020-01-14 19:11:49 -05:00
Peter Steidel
89dd2f98a4 Add LSP Support to Erlang 2020-01-14 14:18:52 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
Henrik Lissner
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
7c9e96da87
General module refactor 2019-03-02 02:04:11 -05:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05: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
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
Paul Schoenfelder
b476cda182 Provide erlang language support 2018-04-06 18:36:00 -05:00