Code Monkey home page Code Monkey logo

Comments (6)

maximryzhov avatar maximryzhov commented on July 20, 2024 1

any updates?

I'v found the stdFolder option in LuaLanguageServer.kt, but it does not work:

You need to specify it as a URI, e.g.

"stdFolder": "file:///C:/EmmyLua-LanguageServer/res/std"

from emmylua-languageserver.

ZSaberLv0 avatar ZSaberLv0 commented on July 20, 2024

any updates?

I'v found the stdFolder option in LuaLanguageServer.kt, but it does not work:

call coc#config('languageserver.EmmyLua', {
        \   'command': &shell,
        \   'args': [&shellcmdflag, 'java -cp EmmyLua-LS-all.jar com.tang.vscode.MainKt'],
        \   'filetypes': ['lua'],
        \   'initializationOptions': {
        \     'stdFolder': 'path_to_this_repo/std/Lua54',
        \   },
        \ })

EDIT:

from emmylua-languageserver.

iqgrande avatar iqgrande commented on July 20, 2024

I just wanted to post that I am interested in this as well and would like for the server to handle the built-in modules. I am very appreciative of this project and all of the hard work this team has done. Thank you.

from emmylua-languageserver.

ZSaberLv0 avatar ZSaberLv0 commented on July 20, 2024

there's a workaround, copy the contents of https://github.com/EmmyLua/IntelliJ-EmmyLua/tree/master/src/main/resources/std/Lua54 to your project (or to one of your project's sub dir)

but obviously that's not very convenient

from emmylua-languageserver.

ZSaberLv0 avatar ZSaberLv0 commented on July 20, 2024
"stdFolder": "file:///C:/EmmyLua-LanguageServer/res/std"

it works!

from emmylua-languageserver.

johalun avatar johalun commented on July 20, 2024

How do I pass stdFolder to emmy in spacemacs on macos?

from emmylua-languageserver.

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.