Giter Club home page Giter Club logo

Comments (6)

bhcleek avatar bhcleek commented on June 3, 2024 1

I think I can fix this in the simple case where the completion text does not contain any placeholders, but it will remain for a case where a completion selection is made that contains placeholders, because Ultisnips does not support nested snippets.

from vim-go.

bhcleek avatar bhcleek commented on June 3, 2024

Ctrl-j works to navigate in the scenario you're describing, not ctrl-y.

from vim-go.

dunric avatar dunric commented on June 3, 2024

Ctrl-j works to navigate in the scenario you're describing, not ctrl-y.

ctrl-y is used to select an entry from a pop-up completion menu. ctrl-j / ctrl-k no longer work, placeholder is misplaced (see the last image).

from vim-go.

bhcleek avatar bhcleek commented on June 3, 2024

I misread your description. I thought you were trying to use ctrl-y to navigate after manually entering the first argument.

However, I'm unable to duplicate the problem you're describing.

I noticed that your gopls is not an official version. Can you update it with :GoUpdateBinaries gopls?

Also, what version of vim-go are you using? Your bug report says you're using the current version. Does that mean the latest master revision, the latest tagged release, or something else?

from vim-go.

bhcleek avatar bhcleek commented on June 3, 2024

I can duplicate what you're describing. I'm not sure what the solution is, though πŸ€”

from vim-go.

dunric avatar dunric commented on June 3, 2024

I think I can fix this in the simple case where the completion text does not contain any placeholders, but it will remain for a case where a completion selection is made that contains placeholders, because Ultisnips does not support nested snippets.

Again, thanks for the great job and that you are still keep rolling.

I'd find this solution satisfactory, because placeholders require and rely solely on UltiSnips engine and its features anyway.

Take care…

from vim-go.

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.