Commit graph

14 commits

Author SHA1 Message Date
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Nathan Tran
cdcdde3354
Fix +debugger/start not working (#4782)
* Fix `+debugger/start` not working

* Correct indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-03-11 10:24:44 -05:00
Henrik Lissner
cf086d08fa Minor refactor & use doom-store-* API
+ Fixes a shallow comparison error (eq cannot compare strings).
+ Uses the doom-store-* API rather than pull in a new dependency to
  manage project-local variables.
2021-03-05 19:31:54 -05:00
Henrik Laxhuber
44803038b2
Remove dash dependency 2021-03-01 09:15:26 +01:00
Henrik Laxhuber
462efded5f
Fix +debugger/quit 2021-03-01 09:15:06 +01:00
Henrik Laxhuber
cf3d9eb6e0
Handle empty input in +debugger-completing-read 2021-02-28 23:18:19 +01:00
Henrik Laxhuber
6de1e56d4f
Fix +debug/start for dap-based debuggers.
Reworks the internals of how the debugger module stores the last-used
configuration:
- car of the configuration indicates whether it is a realgud or a
dap-based configuration.
- For dap-based debuggers, the entire dap configuration is stored, with
code copied from `dab-debug`.
- When inside a project, don't store the configuration as a buffer-local
variable, but instead as a project-local variable using
`projectile-variable`.

Fixes #2367.
2021-02-28 22:16:38 +01:00
Henrik Lissner
dd402b7db3
Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
Gerry Agbobada
46d3d8d85c Fix dap-debug-template-conf.. void-variable
The variable changed name in
emacs-lsp/dap-mode@7768e145be
2019-11-26 00:54:51 +01:00
Henrik Lissner
42421a765d
Avoid fallback completion if lsp--buffer-deferred 2019-10-23 22:08:28 -04:00
Henrik Lissner
69ba8bb657
Fix +debugger/start for dap-mode
And fix variable name typo.
2019-07-09 21:33:02 +02:00
Henrik Lissner
21d1844c6f
tools/debugger: fix broken variable reference 2019-07-09 21:11:27 +02:00
Henrik Lissner
096a3b96cc
Update & refactor tools/debugger
- Polish dap-mode support
- Fix realgud autoloads
- Add +debugger/start and +debugger/quit
- Move dap-breakpoints file into doom-etc-dir
- Fix SPC o d
- Add popup rule for realgud:pdb debugger
- Update display-in-popup advice to reflect changes upstream
- Realgud command buffer is auto-killed (and popup closed) when quitting
  the debugger.
- (evil users) Add :debug ex command
2019-07-07 22:01:24 +02:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00