Skip to content

Conversation

@mfussenegger
Copy link
Owner

@mfussenegger mfussenegger commented May 30, 2024

  • Introduces a dap.providers.configs table which plugins can extend to
    add additional sources for dynamic configuration generation

  • Implements the two built-in configuration sources as providers

  • .vscode/launch.json files are now loaded automatically by one of
    these providers. The entries from the file always display even if the
    type doesn't match the current filetype. This gets rid of the
    type_to_filetypes mapping requirements.

Closes:

@mfussenegger mfussenegger marked this pull request as ready for review May 30, 2024 13:18
- Introduces a dap.providers.configs table which plugins can extend to
  add additional sources for dynamic configuration generation

- Implements the two built-in configuration sources as providers

- `.vscode/launch.json` files are now loaded automatically by one of
  these providers. The entries from the file always display even if the
  type doesn't match the current filetype. This gets rid of the
  `type_to_filetypes` mapping requirements.
@mfussenegger
Copy link
Owner Author

I should add that the naming is not final and might change before the next release without warning

mfussenegger added a commit to mfussenegger/nvim-jdtls that referenced this pull request Jun 6, 2024
mfussenegger added a commit to mfussenegger/nvim-jdtls that referenced this pull request Jun 6, 2024
folke pushed a commit to LazyVim/LazyVim that referenced this pull request Oct 23, 2024
## Description

The explicit call to `load_launchjs` is unnecessary, since after
mfussenegger/nvim-dap#1237 `.vscode/launch.json`
files are loaded automatically.

## Related Issue(s)
Fixes #4432


## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
wrightbradley added a commit to wrightbradley/nvim that referenced this pull request Nov 8, 2024
The explicit call to `load_launchjs` is unnecessary, since after
mfussenegger/nvim-dap#1237 `.vscode/launch.json`
files are loaded automatically.

Signed-off-by: wrightbradley <[email protected]>
mfussenegger added a commit that referenced this pull request Dec 31, 2024
Didn't reflect the changes made in #1237
mfussenegger added a commit that referenced this pull request Dec 31, 2024
Didn't reflect the changes made in #1237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants