From b2f531162e18871218475c2194d9be40734ee3c2 Mon Sep 17 00:00:00 2001 From: sumneko Date: Wed, 29 May 2019 19:11:36 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BC=96=E8=AF=91=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f31b5cd2..03f1689f 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3