From 9106aea3413c92bc8c4e9c3421efc980e1dcb6e3 Mon Sep 17 00:00:00 2001 From: Youngwook Kim Date: Fri, 30 Aug 2024 20:44:55 +0900 Subject: [PATCH] Update dap-dart-setup to lsp-dart-dap-setup in prelude-dart.el (#1420) This commit updates the deprecated function in prelude-dart.el to the latest one. --- CHANGELOG.md | 1 + modules/prelude-dart.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eff677604a..66464a3ce3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/modules/prelude-dart.el b/modules/prelude-dart.el index 3e4bb6872a..583d41d70b 100644 --- a/modules/prelude-dart.el +++ b/modules/prelude-dart.el @@ -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)