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

Incorrect Insertion of Parentheses for Elm Functions #1226

Closed
2 tasks done
hiddenroadss opened this issue Feb 15, 2025 · 0 comments
Closed
2 tasks done

Incorrect Insertion of Parentheses for Elm Functions #1226

hiddenroadss opened this issue Feb 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hiddenroadss
Copy link

Make sure you have done the following

  • Updated to the latest version of blink.cmp
  • Searched for existing issues and documentation (try <C-k> on https://cmp.saghen.dev)

Bug Description

Description

I am experiencing an issue which automatically adds parentheses when completing Elm function names. For example, when I type actionMenuBlock, the completion suggestion inserts actionMenuBlock() instead of just actionMenuBlock, which is not valid in Elm.

Steps to Reproduce

  1. Open a file with Elm code in Neovim.
  2. Start typing an Elm function name.
  3. Trigger the autocompletion .
  4. Select the suggestion for functionName.
  5. Notice that it inserts functionName() instead of functionName.

Expected Behavior

The expected behavior is that the autocompletion should insert the function name without parentheses, resulting in functionName.

Actual Behavior

The actual behavior is that the autocompletion inserts the function name with parentheses, resulting in functionName().

Relevant configuration

neovim version

v0.10.4

blink.cmp version

v0.11.0

@hiddenroadss hiddenroadss added the bug Something isn't working label Feb 15, 2025
@Saghen Saghen closed this as completed in 844b97a Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant