Giter Site home page Giter Site logo

Comments (6)

gsthnz avatar gsthnz commented on July 21, 2024 1

@zeljkobekcic thanks for opening this, I'm finding the same issue, but I did not test with VSCode.

Are you using nvim-cmp? I did test with coq_nvim instead and the problem didn't happen! So it's likely an issue with nvim-cmp!

from godot.

gsthnz avatar gsthnz commented on July 21, 2024 1

@zeljkobekcic quick update: I tried the nvim-cmp recommended minimal editor config for opening new issues and the problem does not happen!

Here's the config that I tried, on a gdscript related issue: hrsh7th/nvim-cmp#1119

It's likely some config mistep, not a plugin or LSP issue!

from godot.

gsthnz avatar gsthnz commented on July 21, 2024 1

It's likely some config mistep, not a plugin or LSP issue!

I was able to track the issue down in my personal config to the use of noinsert in the completion.completeopt in nvim-cmp configs!

from godot.

dalexeev avatar dalexeev commented on July 21, 2024

Are you sure this is a GDScript LSP issue and not a Neovim issue? As far as I know, we provide the same LSP for all IDEs/editors. Only the built-in editor can make big differences since it does not use LSP. The VS Code plugin uses the same LSP, but probably does some extra processing for better integration with Godot.

from godot.

zeljkobekcic avatar zeljkobekcic commented on July 21, 2024

Hey, I was not sure where to post this. I started in the NeoVim reddit community but I cam to the conclusion that I might find an answer to this problem here.

Other people have a similar issue, see here: https://www.reddit.com/r/neovim/comments/1c2bhcs/godotgdscript_in_neovim_with_lsp_and_debugging_in/ (the first two comments).

I apologize if this is not the appropriate place for this issue. Then I would move on the the Godot reddit community.

Also I would like to add that:

It seems to never include the top match until I manually retrigger.
-- take from one of the reddit comments

This is also true for me.

I will once more try to understand and break down the LSP debug log which I provided.

from godot.

zeljkobekcic avatar zeljkobekcic commented on July 21, 2024

@gsthnz, Thank you for your input. I was able to pin point the issue. First of all, I am using kickstart.nvim as a base for my nvim config.

My comletion.completeopt setting was defined as follows:

      completion = { completeopt = 'menu,menuone,noinsert' }, -- before and incorrect

Only not setting the completion results into correct completion suggestions. I will have to understand how nvim-cmp now interacts with the input and why it's so different for this LSP.

From my side this issue is not related to Godot at all.
Apologies for any confusion.

from godot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.