GithubHelp home page GithubHelp logo

Comments (3)

VonHeikemen avatar VonHeikemen commented on June 8, 2024 1

Should be fixed with dec1c21

Update lsp-zero and let me know if it worked.

from lsp-zero.nvim.

EvanEzell avatar EvanEzell commented on June 8, 2024

This fixes the issue. Thank you!

Would you be willing to explain further the changes you made as I could not figure out exactly what was going on myself? I see now that you have added an additional keymap that translates your custom strings (plug_omni = '<Plug>(lsp-zero-complete-omni)' and plug_buffer = '<Plug>(lsp-zero-complete-word)') to the previous key codes (<C-x><C-o> and <C-x><C-n>) when in insert mode. How does this extra layer of translation solve the issue?

from lsp-zero.nvim.

VonHeikemen avatar VonHeikemen commented on June 8, 2024

Honestly, I don't know why it works. My guess is the "key code" generated by the <Plug> keymap doesn't have the same bug as the one generated by <C-x><C-o>.

Could not find anything useful on google so I read the source code of vim-simple-complete. That's the first autocomplete plugin I used, back when I started learning about vim. They have that <Plug> keymap trick, and it seems to work for them, so that's why I tried here.

from lsp-zero.nvim.

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.