Skip to content

Commit

Permalink
Update dap-dart-setup to lsp-dart-dap-setup in prelude-dart.el (#1420)
Browse files Browse the repository at this point in the history
This commit updates the deprecated function in prelude-dart.el to the latest one.
  • Loading branch information
ywkim authored Aug 30, 2024
1 parent 1e9336d commit 9106aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* Stop requiring `helm-config` since upstream has removed the module.
* Require `typescript-mode` using `prelude-require-packages` to avoid error upon inclusion in `personal/prelude-modules.el`.
* Turn off `super-save` in `rust-mode` to prevent severe hangs during autocomplete.
* Update `prelude-dart.el` to use `lsp-dart-dap-setup` instead of deprecated `dap-dart-setup` function.

## 1.1.0 (2021-02-14)

Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-dart.el
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
;; Add to default dart-mode key bindings
(lsp-dart-define-key "s o" #'lsp-dart-show-outline)
(lsp-dart-define-key "s f" #'lsp-dart-show-flutter-outline)
(dap-dart-setup))
(lsp-dart-dap-setup))

(setq prelude-dart-mode-hook 'prelude-dart-mode-defaults)

Expand Down

0 comments on commit 9106aea

Please sign in to comment.