LSP
LSP copied to clipboard
Tab completion deleting text before it
Describe the bug
I'm having an issue with tab completion on certain LSP servers. In this specific case, it's an issue with LSP-Elm. An example is say I have the following code:
canSignalPrisoner : Bool -> Bool -> Bool
canSignalPrisoner archerIsAwake prisonerIsAwake =
not archerIsAwake && pri
The completion option pops up to show prisonerIsAwake. If I select the completion, what I end up with is:
canSignalPrisoner : Bool -> Bool -> Bool
canSignalPrisoner archerIsAwake prisonerIsAwake =
not archerIsAwake &prisonerIsAwake
To Reproduce
Have text before the text that gets code completion options
Expected behavior
The code suggestion gets placed properly.
Logs
Environment (please complete the following information):
- OS: Windows 11 Pro 24H2
- Sublime Text version: 4200
- LSP version: 2.3.0
- Language servers used: Elm