PMunch / nimlsp

Language Server Protocol implementation for Nim
MIT License
418 stars 51 forks source link

Don't use space as trigger character #143

Closed sigmaSd closed 2 years ago

sigmaSd commented 2 years ago

Using white space as trigger character make the experience of using nim a bit annoying becuase tab will always trigger completion

you can compare to python:

nim python

I propose changing this https://github.com/PMunch/nimlsp/blob/master/src/nimlsp.nim#L234

pyright for example doesn't have it https://github.com/microsoft/pyright/blob/95c059fad75da3dad7011fd15c67ace4bc9610be/packages/pyright-internal/src/languageServerBase.ts#L607