Pure-D / serve-d

D LSP server (dlang language server protocol server)
MIT License
208 stars 49 forks source link

Incorrect computation of position in function call signature #242

Closed myOmikron closed 1 year ago

myOmikron commented 2 years ago

It seems like the current position in the popup is computed by just using counting commas. An array initialization will shop the wrong position in the popup:

image

As visible, thisShouldNotBeHighlighted is highlighted while the cursor is still in the array: image