Coder Social home page Coder Social logo

Comments (8)

liuyuzhenn avatar liuyuzhenn commented on June 16, 2024

I have the issue

from cmp-omni.

Coadon avatar Coadon commented on June 16, 2024

Same issue here, pretty annoying.

from cmp-omni.

kwand avatar kwand commented on June 16, 2024

It seems I also have the same issue (and it's very annoying).

I only installed this since vimtex recommended it to allow its snippets to be visible here, but clearly, I need to look for another solution (or spend some time debugging this).

from cmp-omni.

bstaint avatar bstaint commented on June 16, 2024

It's conflict with nvim_lsp, temporary solution.

local on_attach = function(client, bufnr)
  -- https://github.com/neovim/neovim/pull/19677
  -- https://github.com/hrsh7th/cmp-omni/commit/01f0f66e7dc227606bb8d8ffad688b9c393a052c
  vim.api.nvim_buf_set_option(bufnr, "omnifunc", "any non-empty character")
end

from cmp-omni.

p00f avatar p00f commented on June 16, 2024

@bstaint It happens in python's omnifunc and I don't have lsp configured for python

from cmp-omni.

kwand avatar kwand commented on June 16, 2024

@hrsh7th Any idea what is causing this issue (and if it indeed due to nvim_lsp conflicts whether some note should be made about this in the README itself?)

I believe you worked with @lervag over at the vimtex when they were implementing support for nvim-cmp via omni? (I see some commits on this repo were made due to issues discussed over at vimtex). Is this a new issue, or did it happen before?

from cmp-omni.

cnrrobertson avatar cnrrobertson commented on June 16, 2024

I think the autoselection can be avoided with the vim setting vim.opt.completeopt:append('noselect') but the multiple popups are still unresolved

from cmp-omni.

keiwanjamaly avatar keiwanjamaly commented on June 16, 2024

It's conflict with nvim_lsp, temporary solution.

local on_attach = function(client, bufnr)
  -- https://github.com/neovim/neovim/pull/19677
  -- https://github.com/hrsh7th/cmp-omni/commit/01f0f66e7dc227606bb8d8ffad688b9c393a052c
  vim.api.nvim_buf_set_option(bufnr, "omnifunc", "any non-empty character")
end

@bstaint Since this is already open for a while, what have you done with on_attach?

from cmp-omni.

Related Issues (7)

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.