Customize completion list

Hello. I’m using lang-sql for autocompletion. And I want to customize its completion list by changing boost property (priority).

For example: When I type s I want select to be the first option in autocompletion list.

How can I do that?

You could wrap the completion source with a custom function that adds a boost, and add that to your configuration instead of the default version.

1 Like