diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-29 19:11:36 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-29 19:11:36 +0800 |
commit | b2f531162e18871218475c2194d9be40734ee3c2 (patch) | |
tree | 35a91df767c956bc5c26e52f9e34f940e924cfe8 /README.md | |
parent | 17eff4c83090a6129434971431b10ffef1c9bb03 (diff) | |
download | lua-language-server-b2f531162e18871218475c2194d9be40734ee3c2.zip |
更新编译教程
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -55,19 +55,17 @@ ![avatar](https://github.com/sumneko/lua-language-server/raw/master/images/Emmy%20Annotation.gif) -## For macOS/Linux Users +## How to use on macOS/Linux -Please install sumneko Lua in VScode Marketplace first. +You need to build `lua-language-server` yourself on macOS/Linux. -Then build lua-language-server yourself. - -### Build +* Install [sumneko.lua] in VSCode * Install [ninja] -* Clone souce code +* Clone source code ``` git clone git@github.com:sumneko/lua-language-server.git ``` -* Run `osx.sh` / `linux.sh` in Terminal +* Run `osx.sh` / `linux.sh` ``` cd lua-language-server ./osx.sh @@ -76,10 +74,11 @@ cd lua-language-server cd lua-language-server ./linux.sh ``` -* Restart VScode and open your lua project - +* Restart VSCode and open your lua project +* Enjoy [ninja]: https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages +[sumneko.lua]: https://marketplace.visualstudio.com/items?itemName=sumneko.lua ## Version |