Giter VIP home page Giter VIP logo

Comments (10)

chase avatar chase commented on August 15, 2024 1

weirdly enough, copilot works sweat_smile Screen Shot 2021-11-11 at 12 56 46 PM Screen Shot 2021-11-11 at 12 57 28 PM

I refuse to accept that 😂

I wonder if it's because the file locations changed around for the nightly builds, I guess I'll look into that.

from lvim.

chase avatar chase commented on August 15, 2024 1

Even after regenerating the types it didn't work so I started looking into it more deeply and checked the debug log.
Even after running lspconfig's setup with the enhanced config, it seems like even with the override the default config is being passed:

[18:10:28.495][debug][#0:script/provider/provider.lua:43]: loaded config dump:	{
    Lua = {
        diagnostics = {
            globals = {
                [1] = "vim",
                [2] = "lvim",
            },
        },
        telemetry = {
            enable = false,
        },
        workspace = {
            library = {
                ["/home/chase/.local/nvim/usr/share/nvim/runtime/lua"] = true,
                ["/home/chase/.local/nvim/usr/share/nvim/runtime/lua/vim/lsp"] = true,
                ["/home/chase/.local/share/lunarvim/lvim/lua"] = true,
            },
            maxPreload = 100000,
            preloadFileSize = 10000,
        },
    },
}

from lvim.

chase avatar chase commented on August 15, 2024 1

Hard to tell if this a sumneko_lua bug or an lspconfig bug, but the config passed to lspconfig.setup is correct:
image

from lvim.

chase avatar chase commented on August 15, 2024 1

Got a fix for you that seems to work.

Drop this part of your config:
chase/lvim@7c4f5c1#diff-437dcbdcefbb257379ec6d95c6877f5f4feb823b3c5d920b643f9aeebcad7db0L303-L308

Move lua/user/providers to lua/lvim/lsp/providers:
chase/lvim@7c4f5c1#diff-072b5a568c83434dda5a33ca67ecdcb46358ba94308236464a9dc8b1578bbff7

You'll need to :LvimCacheReset though

from lvim.

abzcoding avatar abzcoding commented on August 15, 2024

sadly no, it seems like it is not compatible with the recent neovim versions
Screen Shot 2021-11-11 at 12 54 55 PM
Screen Shot 2021-11-11 at 12 55 39 PM

from lvim.

abzcoding avatar abzcoding commented on August 15, 2024

weirdly enough, copilot works 😅
Screen Shot 2021-11-11 at 12 56 46 PM
Screen Shot 2021-11-11 at 12 57 28 PM

from lvim.

abzcoding avatar abzcoding commented on August 15, 2024

I wonder if it's because the file locations changed around for the nightly builds, I guess I'll look into that.

yeah it should be related

from lvim.

abzcoding avatar abzcoding commented on August 15, 2024

that is weird 🤔

from lvim.

abzcoding avatar abzcoding commented on August 15, 2024

😢

from lvim.

abzcoding avatar abzcoding commented on August 15, 2024

tyvm!
Fixed via 8331fd9

from lvim.

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.