Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP completion repeats character in gdscript #5878

Closed
rcorre opened this issue Feb 7, 2023 · 2 comments
Closed

LSP completion repeats character in gdscript #5878

rcorre opened this issue Feb 7, 2023 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@rcorre
Copy link
Contributor

rcorre commented Feb 7, 2023

Summary

I'm editing the following .gd file:

extends Node

func _ready() -> void:
	var n := Node.new()

Below the last line, I type if n.h<tab><tab> quickly. It completes to if n.hhas_method instead of if n.has_method. This does not happen if I press <tab> more slowly.

Reproduction Steps

I tried this:

  1. hx Example.gd
  2. ge
  3. O
  4. <tab>
  5. if n.h<tab><tab> (quickly)

I expected this to happen:
if n.has_method
Instead, this happened:
if n.hhas_method

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines
[helix.log](https://github.com/helix-editor/helix/files/10680425/helix.log)

For comparison, here's the nvim LSP log for the same operation:

nvim.log

Platform

Linux

Terminal Emulator

st 0.8.5

Helix Version

22.12-231-g23ed8c12

@rcorre rcorre added the C-bug Category: This is a bug label Feb 7, 2023
@sudormrfbin
Copy link
Member

Fixed by #1819, and I think there was already an issue open about it but can't find it right now.

@sudormrfbin sudormrfbin linked a pull request Feb 8, 2023 that will close this issue
@sudormrfbin
Copy link
Member

Duplicate of #4851.

@sudormrfbin sudormrfbin closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants