blink.cmp
blink.cmp copied to clipboard
Move auto brackets to allowlist instead of blocklist
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.
I'll likely move the auto brackets functionality out of this plugin and into https://github.com/Saghen/blink.pairs instead