Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move auto brackets to allowlist instead of blocklist #1386

Open
Saghen opened this issue Mar 5, 2025 · 0 comments
Open

Move auto brackets to allowlist instead of blocklist #1386

Saghen opened this issue Mar 5, 2025 · 0 comments
Labels
accept Applying a completion item to the buffer feature New feature or request

Comments

@Saghen
Copy link
Owner

Saghen commented Mar 5, 2025

Feature Description

Currently, we enable auto brackets for all filetypes by default and block some filetypes. This has caused issues on many occasions (nushell, code-companion, etc). We should switch to using an allowlist of filetypes and possibly only apply it to the LSP source (configurable). We could even allowlist specific LSPs since some languages have multiple LSPs, some of which add auto brackets already, and some which don't.

@Saghen Saghen added accept Applying a completion item to the buffer feature New feature or request labels Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accept Applying a completion item to the buffer feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant