Commit graph

49 commits

Author SHA1 Message Date
Henrik Lissner
3f5cc4c630
Bump :tools lsp debugger
emacs-lsp/dap-mode@8c59b0a -> emacs-lsp/dap-mode@85a6163
emacs-lsp/lsp-mode@0131f1f -> emacs-lsp/lsp-mode@edb8119
realgud/realgud@de31e77 -> realgud/realgud@5b0ed08
tumashu/posframe@b3028b0 -> tumashu/posframe@6d604a7

Also refactors the :tools lsp module. Recent changes upstream have made
a few of our hacks unnecessary (or easier to pull off without advice).

Upstream has also introduced optimizations!
2020-08-06 19:36:22 -04:00
Henrik Lissner
aba2dcaf11
tools/debugger: bind SPC m d to dap-hydra
Closes #2955
2020-08-06 00:22:39 -04:00
Henrik Lissner
3afee78c8b
tools/debugger: fix file-missing dap-ui-mode error 2020-08-06 00:22:39 -04:00
Henrik Lissner
d9fd738ba6
Fix #3695: load lsp-java for dap-mode 2020-08-05 19:26:59 -04:00
Henrik Lissner
b08f9c607d
Fix #3671: some dap-mode libs not loading 2020-08-02 13:57:06 -04:00
Henrik Lissner
318b3ef238
tools/debugger: refactor dap lib loader 2020-08-01 15:15:59 -04:00
Henrik Lissner
8b81c4c72a
Fix #3657: remove dap-java reference
It was removed upstream (and moved to lsp-java).
2020-07-31 03:18:09 -04:00
Henrik Lissner
edf5249d15
Bump :tools lsp debugger
emacs-lsp/dap-mode@f0ed63e -> emacs-lsp/dap-mode@8c59b0a
emacs-lsp/lsp-mode@f04d018 -> emacs-lsp/lsp-mode@0131f1f
joaotavora/eglot@e3ce64a -> joaotavora/eglot@fb6b17e
realgud/realgud-trepan-ni@6e9cac5 -> realgud/realgud-trepan-ni@6e38cf8
realgud/realgud@f0a3676 -> realgud/realgud@de31e77
tumashu/posframe@922e4d2 -> tumashu/posframe@b3028b0
2020-07-29 15:35:37 -04:00
Henrik Lissner
e5862c6971
Bump :tools debugger
emacs-lsp/dap-mode@f52fa43 -> emacs-lsp/dap-mode@f0ed63e
realgud/realgud@24c02f0 -> realgud/realgud@f0a3676
tumashu/posframe@c445902 -> tumashu/posframe@922e4d2
2020-07-12 22:46:15 -04:00
Henrik Lissner
fa24c8311a
Bump :tools debugger
realgud/realgud@1238d8e -> realgud/realgud@24c02f0
emacs-lsp/dap-mode@554f7ca -> emacs-lsp/dap-mode@f52fa43
tumashu/posframe@6285217 -> tumashu/posframe@c445902
2020-06-27 14:09:11 -04:00
Eric Dallo
39fb863cca
Bump :tools debugger
emacs-lsp/dap-mode@7ad9157 -> emacs-lsp/dap-mode@7ad9157
2020-06-24 20:18:15 -03:00
Henrik Lissner
fdf9c408e8
Bump :tools
Silex/docker.el@0874520 -> Silex/docker.el@d6233bd
editorconfig/editorconfig-emacs@19de0ec -> editorconfig/editorconfig-emacs@9a73ff7
emacs-lsp/dap-mode@8f69dc2 -> emacs-lsp/dap-mode@7ad9157
emacs-lsp/lsp-mode@81d62d5 -> emacs-lsp/lsp-mode@d5f0410
emacs-lsp/lsp-ui@271b47c -> emacs-lsp/lsp-ui@c3e7a37
emacsorphanage/quickrun@2e37ce9 -> emacsorphanage/quickrun@c6ce1f3
gilbertw1/dash-docs@111fd9b -> gilbertw1/dash-docs@dafc8fc
jacktasia/dumb-jump@d760aa8 -> jacktasia/dumb-jump@d86f59c
joaotavora/eglot@d99a447 -> joaotavora/eglot@ac9239b
magit/forge@09bf8ad -> magit/forge@6f299d2
magit/magit@b1b2683 -> magit/magit@ae82fcf
millejoh/emacs-ipython-notebook@42134ad -> millejoh/emacs-ipython-notebook@ee31cdb
paradoxxxzero/jinja2-mode@cfaa7bb -> paradoxxxzero/jinja2-mode@4540f99
tkf/emacs-request@216d570 -> tkf/emacs-request@912525c
tumashu/posframe@093b29a -> tumashu/posframe@6285217
wbolster/emacs-direnv@1daf479 -> wbolster/emacs-direnv@f5484b0
yoshiki/yaml-mode@cecf4b1 -> yoshiki/yaml-mode@34648f2
2020-06-02 19:52:42 -04:00
Gerry Agbobada
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
Henrik Lissner
3d6d034693
Merge pull request #3104 from felix-clark/develop
activating dap web modules in TS mode
2020-05-18 02:46:39 -04:00
Felix Clark
95824c5054 obviate helper function with after! 2020-05-14 17:40:59 -04:00
Henrik Lissner
b1d9e39a8a
Bump :tools debugger lsp pdf
emacs-lsp/dap-mode@cc2eb2f -> emacs-lsp/dap-mode@8f69dc2
emacs-lsp/lsp-mode@11750e7 -> emacs-lsp/lsp-mode@bac42c5
emacs-lsp/lsp-ui@1288be9 -> emacs-lsp/lsp-ui@ab55e30
politza/pdf-tools@d971298 -> politza/pdf-tools@c510442
realgud/realgud@e03446f -> realgud/realgud@1238d8e
2020-05-14 00:12:10 -04:00
Felix Clark
7f201fc13e Following doom style guide 2020-05-12 11:31:03 -04:00
Felix Clark
cdd5e3931f activating dap web modules in TS mode 2020-05-12 10:19:15 -04:00
Henrik Lissner
5121a7977a
Bump :tools debugger
emacs-lsp/dap-mode@04d7e96 -> emacs-lsp/dap-mode@cc2eb2f
2020-05-08 15:56:22 -04:00
Eric Dallo
5b81ab2d6e
Bump :tools debugger
emacs-lsp/dap-mode@804e364 -> emacs-lsp/dap-mode@04d7e96
2020-04-30 19:42:34 -03:00
Henrik Lissner
40c185bd70
Bump :tools
Silex/docker.el@a2092b3 -> Silex/docker.el@0874520
emacs-lsp/dap-mode@0b9c8f2 -> emacs-lsp/dap-mode@804e364
emacs-lsp/helm-lsp@db24399 -> emacs-lsp/helm-lsp@6b5ce18
emacs-lsp/lsp-mode@4898d35 -> emacs-lsp/lsp-mode@87ea1df
emacs-straight/rainbow-mode@3ef813d -> emacs-straight/rainbow-mode@f780ddb
emacsorphanage/quickrun@50e07e7 -> emacsorphanage/quickrun@2e37ce9
magit/magit@8de6ecf -> magit/magit@d27d6e4
maxchaos/emacs-powerthesaurus@81a262e -> maxchaos/emacs-powerthesaurus@4a83478
millejoh/emacs-ipython-notebook@1322d8c -> millejoh/emacs-ipython-notebook@42134ad
politza/pdf-tools@0159cb1 -> politza/pdf-tools@d971298
realgud/realgud@b854e04 -> realgud/realgud@e03446f
tumashu/posframe@e62e584 -> tumashu/posframe@093b29a
zx2c4/password-store@88936b1 -> zx2c4/password-store@07b169e

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:27:58 -04:00
Henrik Lissner
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
Henrik Lissner
4d3fdcfdcd
Bump :tools debugger
emacs-lsp/dap-mode@e2086fc -> emacs-lsp/dap-mode@0b9c8f2
realgud/realgud@94f2835 -> realgud/realgud@b854e04
2020-04-17 22:05:15 -04:00
Henrik Lissner
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
Henrik Lissner
566a5c8a32
Bump :tools
krzysztof-magosa/company-ansible@8d1ffbc -> krzysztof-magosa/company-ansible@79dd421
realgud/realgud@2cca776 -> realgud/realgud@94f2835
emacs-lsp/dap-mode@d10e254 -> emacs-lsp/dap-mode@e2086fc
wbolster/emacs-direnv@1f93e3f -> wbolster/emacs-direnv@1daf479
Silex/docker.el@baba7f7 -> Silex/docker.el@a2092b3
editorconfig/editorconfig-emacs@5c67d22 -> editorconfig/editorconfig-emacs@19de0ec
millejoh/emacs-ipython-notebook@b265205 -> millejoh/emacs-ipython-notebook@57e84c6
syohex/emacs-quickrun@55bbe5d -> syohex/emacs-quickrun@50e07e7
jacktasia/dumb-jump@b5185e3 -> jacktasia/dumb-jump@e8e9b0c
magit/magit@55c5c7c -> magit/magit@68b5a13
magit/forge@c2fbce6 -> magit/forge@2e2d26c
alphapapa/magit-todos@ad5663a -> alphapapa/magit-todos@a0e5d1f
charignon/github-review@3fb7cc2 -> charignon/github-review@50c6bcc
syohex/emacs-terraform-mode@6973d1a -> syohex/emacs-terraform-mode@2967e7b
2020-03-27 16:47:11 -04:00
Henrik Lissner
dd402b7db3
Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
Henrik Lissner
176be128ef
gdb-show-main = gdb-many-windows = t 2020-02-16 02:26:38 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Tim Sanders
7541611863
Fix garbage minibuffer history when launching debugger
9a93aa1df9 (commitcomment-36934820)
2020-01-23 10:22:04 -06:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
eba070d8ba
Move dap-breakpoints-file to doom etc dir #2273 2019-12-30 05:26:57 -05:00
Henrik Lissner
adc8cba14b
Revise docstrings & minor reformatting 2019-12-26 01:41:44 -05:00
Sean Farley
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
Henrik Lissner
e0bd046339
tools/debugger: fix dap-mode not loading after lsp-mode 2019-12-20 04:17:45 -05: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
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
Henrik Lissner
42421a765d
Avoid fallback completion if lsp--buffer-deferred 2019-10-23 22:08:28 -04:00
Akhil Wali
8129112e59 Check if evil-emacs-state-local-map is bound 2019-10-10 22:35:26 +13:00
Julian DeMille
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
Henrik Lissner
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
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
8e09b8b7fe
tools/debugger: conform to new advice conventions 2019-07-22 23:51:12 +02: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
95a6a2baaf
tools/debugger: add lldb & gdb dap debuggers
And refactors/reformats how dap modules are loaded.
2019-07-09 21:32:09 +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
63412af9c3
tools/debugger: add node >=v8 support to realgud 2019-07-07 13:12:06 +02:00
Henrik Lissner
70ac4c0cf5
tools/debugger: add rudimentary dap-mode support 2019-07-06 23:22:27 +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