Comments (6)
any updates?
I'v found the
stdFolder
option inLuaLanguageServer.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.
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:
- the
stdFolder
is the solution, but you must usefile://
as prefix - I'v created a repo to make life easier: https://github.com/ZSaberLv0/EmmyLua_stdFolder
from emmylua-languageserver.
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.
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.
"stdFolder": "file:///C:/EmmyLua-LanguageServer/res/std"
it works!
from emmylua-languageserver.
How do I pass stdFolder to emmy in spacemacs on macos?
from emmylua-languageserver.
Related Issues (20)
- Many warning while used with Emacs lsp-mode HOT 4
- EmmyLua-LS-all.jar is under EmmyLua-LS/build/libs instead of EmmyLua-LS/build
- java.lang.StackOverflowError on code completion HOT 1
- How did you extract the IntelliJ-Core module? HOT 2
- 数字被识别为object
- alias 嵌套alias类型无法给出提示 HOT 1
- 希望补全的时候右边的窗口有说明
- Missing Content-Length header HOT 8
- 迭代器类型错误
- How To Add To Vim? HOT 1
- NPE
- modules included by require() in emacs (spacemacs) not seen for autocompletion HOT 2
- Can't compile with gradle HOT 2
- emmyLua with sublime lsp using too much cpu when restart HOT 1
- Feature Request - Diagnostics for Type Errors HOT 1
- 最近3个版本的jar包在linux,emacs环境下使用的时候报错 HOT 3
- 现在用eglot的人挺多的,有没有考虑支持一下eglot呀 HOT 1
- compile under java 11 failed
- Can not build on macOS with java 11.0.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emmylua-languageserver.