leanprover / vscode-lean4

Visual Studio Code extension for the Lean 4 proof assistant
Apache License 2.0
158 stars 48 forks source link

fix: 'lean4.input.convert already registered' error #476

Closed mhuisi closed 3 months ago

mhuisi commented 3 months ago

This fixes an issue introduced in the abbreviation refactor of #469 that would sometimes cause the extension to not activate properly because a command was attempted to be registered multiple times. It also fixes another bug where Tab completion did not work correctly in non-Lean 4 files.

Fixes #475.