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

completion-replace problem #9799

Closed
AndreaMonzini opened this issue Mar 3, 2024 · 2 comments · Fixed by #10279
Closed

completion-replace problem #9799

AndreaMonzini opened this issue Mar 3, 2024 · 2 comments · Fixed by #10279
Labels
C-bug Category: This is a bug

Comments

@AndreaMonzini
Copy link

AndreaMonzini commented Mar 3, 2024

Summary

When i enable the completion-replace option, using the cursor hover, the replace miss the last character of the previous word.

Reproduction Steps

I tried this:

  1. when i hover on a word the autocomplete replace all the word but not the last character of the previous word.

I expected this to happen:

the completion-replace should replace the entire previous word.

I am using helix 23.10 (f6021dd) and pylsp

config.toml:
preview-completion-insert = true
completion-replace = true

Platform

Linux Fedora 39

Terminal Emulator

GNOME terminal

Installation Method

dnf

Helix Version

helix 23.10 (f6021dd)
hx

@AndreaMonzini AndreaMonzini added the C-bug Category: This is a bug label Mar 3, 2024
@pascalkuthe
Copy link
Member

please attach a log file these kinds of issues are often hard to reproduce since we don't select the replaced word but rather the server does

@AndreaMonzini
Copy link
Author

Hello, here the helix.log:
helix.log

i have similar problem with completion "insert" ( completion-replace = false ), better to open another issue ?
Thank you

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