DanielGavin / ols

Language server for Odin
MIT License
418 stars 62 forks source link

Disable completing closing parenthesis on autocompleting function #272

Closed invrainbow closed 9 months ago

invrainbow commented 9 months ago

I'm using VSCode with the extension.

It seems when autocompleting a function, it automatically fills in the (). This is annoying as I finish typing the parameters and then have to move the cursor past the ). In Vim mode this requires me to exit insert mode, move the cursor, and re-enter insert mode.

Is there an option to disable this? I wouldn't mind if the ( didn't get autocompleted either.

DanielGavin commented 9 months ago

Yeah seems reasonable. I'll add a configuration for it.

DanielGavin commented 9 months ago

There is now a setting to disable it: "enable_procedure_snippet".

By the way in vscode you can just type ) when inside the (), it will just automatically jump past )