Giter Site home page Giter Site logo

Comments (3)

smjonas avatar smjonas commented on July 17, 2024

Hey,
I assume you have an UltiSnips snippet for class? Does that snippet work when you type class and hit <Tab> manually?

If you see the same entry multiple times, it means that cmp.config.sources has been called more than once or the same source was added twice. This can happen if you source the same Lua file repeatedly.

Can you check if LSP snippets work by typing function in a .lua file and see if sumneko-lua suggests you the function snippet? Make sure to install that language server.

from cmp-nvim-ultisnips.

Xunius avatar Xunius commented on July 17, 2024

@smjonas Many thanks for taking the effort to reply.

I actually wanted to close this issue earlier today but I guess my internet was too bad it didn't commit.
I'm very new to neovim and configuring using lua so I've been creating a bit mess. It turns out that I had duplicate language servers running in the background, and I think that's the reason for those duplicated entries, and it also caused complete freezes of nvim.

I somehow managed to get it work, but I don't really know now (sigh), that's why I'd like to close this (or even better, delete it).

from cmp-nvim-ultisnips.

smjonas avatar smjonas commented on July 17, 2024

No worries at all, thanks for your update on the issue!

from cmp-nvim-ultisnips.

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.