pulumi / pulumi-lsp

A LSP server for Pulumi YAML
Apache License 2.0
22 stars 0 forks source link

Double `:` inserted during completion #55

Open iwahbe opened 2 years ago

iwahbe commented 2 years ago

What happened?

If I type aws:s3 then the following sequence :, BACKSPACE : , I should get only one : but I get two.

Steps to reproduce

name: provider
runtime: yaml
description: A YAML program which uses a provider
resources:
  test:
    type: aws:s3$

Type : at the cursor ($).

Expected Behavior

Expect a : to appear and the next completion to show up.

Actual Behavior

Two :s appear.

Output of pulumi about

On release 0.1.6-pre

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

iwahbe commented 2 years ago

Note: completion must be active for this effect to occur.