Skip to content

[Neovim] inserts parentheses at the end (autocompletion)Β #92

@SantiagoRj

Description

@SantiagoRj

First of all, sorry if this is the wrong place, but I think is a kotlin-lsp issue.

The issue concept is as simple as the title says. In every autocompletion that I accept, inserts the thing that I just accepted BUT also at the end add some parentheses.

To reproduce:

  1. Type "prinl".
  2. Select the first option or essentially the "println()" option.
  3. Then the autocompletion inserts "println()()". And the cursor in Insert Mode it's inside the second parentheses, "println()(|)".

Same thing with "readln()" and inserts "readln()()", "buildList" and inserts "buildList { }()".
Always inserts at the end some parentheses.

Perhaps it helps my setup is the following:
I'm on Neovim with just kickstart (the pre-config starting point, nvim-lua/kickstart.nvim).
And I installed the kotlin-lsp and kotlin-debug-adapter with Mason. That's it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions