Commit Graph

24 Commits

Author SHA1 Message Date
3e5b7cce3f [eglot] Add support for eglot lsp client in emacs
- Update README
- Add eglot-specifics to cc, rs, py, hs
  removing unused lsp-mode packages when eglot is active
- Add eglot-specific bindings
- Add doctor warnings for debugger +lsp and +peek
- Add eglot-backed lookup-handlers
- Add flycheck checker using eglot for :checkers
  syntax users (using flycheck/flycheck#1676 and
  flycheck/flycheck#1592 discussion).
  This implementation is based on @marsam code, and uses recent
  Flycheck development in order to make the code smaller and
  easier to maintain.
2020-05-28 09:34:10 +02:00
95824c5054 obviate helper function with after! 2020-05-14 17:40:59 -04:00
7f201fc13e Following doom style guide 2020-05-12 11:31:03 -04:00
cdd5e3931f activating dap web modules in TS mode 2020-05-12 10:19:15 -04:00
09f617de8b tools/debugger: move dap-mode behind +lsp flag
+ To make this consistent with other opt-in LSP integration
+ Install posframe for dap-ui-mode to work (#2934)

Fixes #2934
2020-04-18 20:22:40 -04:00
51944fae01 Refactor dap-mode and fix config load order
Now doom's defaults will run *before* a user's after! or use-package!
blocks for dap-mode.
2020-04-17 22:03:47 -04:00
dd402b7db3 Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
176be128ef gdb-show-main = gdb-many-windows = t 2020-02-16 02:26:38 -05:00
7541611863 Fix garbage minibuffer history when launching debugger
9a93aa1df9 (commitcomment-36934820)
2020-01-23 10:22:04 -06:00
eba070d8ba Move dap-breakpoints-file to doom etc dir #2273 2019-12-30 05:26:57 -05:00
adc8cba14b Revise docstrings & minor reformatting 2019-12-26 01:41:44 -05:00
b8948aa6ef dap-mode: set extensions variable to doom-cache
Previously, this would put the .extension directory in
`user-emacs-directory' which in doom's case will be in the root of the
doom directory.

So, we move the directory to doom's etc dir and also name it something
descriptive instead of 'extension'.
2019-12-24 16:56:07 -08:00
e0bd046339 tools/debugger: fix dap-mode not loading after lsp-mode 2019-12-20 04:17:45 -05:00
9a93aa1df9 tools/debugger: fix invalid-function "..." error
...when invoking debugger, due to minibuffer-history being evaluated for
some reason.
2019-11-25 18:39:51 -05:00
8129112e59 Check if evil-emacs-state-local-map is bound 2019-10-10 22:35:26 +13:00
3e7bcda04a tools/debugger: Add rust binding for dap-lldb (#1677)
* Add Rust binding to dap-mode in :tools debugger
* Fix missing ).
2019-08-17 16:03:57 -04:00
82ae3a73f3 def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
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
8e09b8b7fe tools/debugger: conform to new advice conventions 2019-07-22 23:51:12 +02:00
95a6a2baaf tools/debugger: add lldb & gdb dap debuggers
And refactors/reformats how dap modules are loaded.
2019-07-09 21:32:09 +02:00
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
63412af9c3 tools/debugger: add node >=v8 support to realgud 2019-07-07 13:12:06 +02:00
70ac4c0cf5 tools/debugger: add rudimentary dap-mode support 2019-07-06 23:22:27 +02:00
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