natebosch / vim-lsc

A vim plugin for communicating with a language server
BSD 3-Clause "New" or "Revised" License
693 stars 79 forks source link

support filtering trigger characters #444

Closed sigmundch closed 2 years ago

sigmundch commented 2 years ago

Consider providing an option to filter/block some trigger characters that are listed by the LSP server. This will allow clients to customize whether or not they would like completion on certain contexts.

For me, the use case is to disable completion only on { when editing Dart code.

natebosch commented 2 years ago

I'm leaning towards this being a global option. We could add a server specific way to configure this if someone requests it, but I'd guess that most of them time an author is going to have consistent preference across languages.