You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This key is not used by Sublime, but is used as a "breadcrumb" to figure out what needs to be removed
# from the auto_complete_triggers array once the session is stopped.
"server": self.session.config.name
Shouldn't there be a way to merge specified selector with the global one?
There are pros and cons of merging but I think it would make sense for the client to only care about special cases and still allow the global selectors to apply.
The example that made me file this is: I want to make LSP-typescript / LSP-vue provide completions within import paths (scope something like meta.import meta.string) but if I do that then now I also have to repeat global selectors and then the user potentially also has to override that setting manually to consider he's customizations to auto_complete_selector.
Implementation wise, the setting could optionally take an object with selector and strategy properties where stategy could be either replace or merge.
The text was updated successfully, but these errors were encountered:
When client specifies
auto_complete_selector
then it looks like currently it completely replaces the globalauto_complete_selector
:LSP/plugin/session_view.py
Lines 210 to 220 in c7d622c
Shouldn't there be a way to merge specified selector with the global one?
There are pros and cons of merging but I think it would make sense for the client to only care about special cases and still allow the global selectors to apply.
The example that made me file this is: I want to make LSP-typescript / LSP-vue provide completions within import paths (scope something like
meta.import meta.string
) but if I do that then now I also have to repeat global selectors and then the user potentially also has to override that setting manually to consider he's customizations toauto_complete_selector
.Implementation wise, the setting could optionally take an object with
selector
andstrategy
properties wherestategy
could be eitherreplace
ormerge
.The text was updated successfully, but these errors were encountered: