syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.71k stars 4.9k forks source link

Strange warning during loading of dap-mode at startup #15551

Closed smile13241324 closed 1 year ago

smile13241324 commented 2 years ago

Description :octocat:

There are some strange warnings at startup which may hint at a subtle configuration issue.

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: A warning is displayed: Error (use-package): dap-mode/:config: Wrong type argument: listp, always Disable showing Disable logging

Expected behaviour: :heart: :smile: No warnings and the layer just loads as usual

System Info :computer:

smile13241324 commented 2 years ago

Currently I have no clue where this comes from, if anyone has a clue some hints or a PR would be welcome.

thanhvg commented 2 years ago

You enabled dap layer so dap-mode and dap-ui-mode are turned on after lsp-mode is loaded. I don't use dap very much so I disabled them https://github.com/thanhvg/spacemacs/blob/prod/layers/%2Btools/dap/packages.el#L37-L38

@yyoncho may have a better suggestion for this problem

allentiak commented 2 years ago

May I suggest you check https://github.com/syl20bnr/spacemacs/issues/15546 ?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!