Completion in Java overwrites next identifier
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### What did you expect to happen?
Suppose I want to make `public class SomeClass` abstract. If I place my cursor after `public ` in Insert mode, and use completion to type `abstract`, I expect to have `public abstract class SomeClass`.
### What actually happened?
Instead, the next identifier (`class`) is replaced by `abstract`, so the result is `public abstract SomeClass`. Similar issue [here](https://github.com/MaskRay/ccls/issues/678)
### Describe your attempts to resolve the issue
I tried setting `lsp-java-completion` to `nil` in my `config.el` and reloading Doom, but to no avail.
### Steps to reproduce
1. Edit a Java project with LSP completion enabled
2. Try turning a class abstract using completion, as described above.
### System Information
https://pastebin.com/xmuS56V6
Contributor guide
Assessment
This issue has not been assessed yet.