Skip to content

Commit 06a7228

Browse files
authored
Merge pull request #1401 from carsakiller/documentation
Make README prettier
2 parents 7549c48 + 9bde7b9 commit 06a7228

File tree

1 file changed

+73
-73
lines changed

1 file changed

+73
-73
lines changed

README.md

Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,105 @@
11
# lua-language-server
22

33
![build](https://github.com/sumneko/lua-language-server/workflows/build/badge.svg)
4-
![version](https://vsmarketplacebadge.apphb.com/version-short/sumneko.lua.svg)
4+
[![version](https://vsmarketplacebadge.apphb.com/version-short/sumneko.lua.svg)](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)
55
![installs](https://vsmarketplacebadge.apphb.com/installs-short/sumneko.lua.svg)
66
![downloads](https://vsmarketplacebadge.apphb.com/downloads-short/sumneko.lua.svg)
7+
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/sumneko/lua-language-server.svg)](https://github.com/sumneko/lua-language-server/issues "Average time to resolve an issue")
78

8-
## Install In VSCode
9-
https://marketplace.visualstudio.com/items?itemName=sumneko.lua
109

11-
![avatar](https://github.com/sumneko/vscode-lua/raw/master/images//Install%20In%20VSCode.gif)
10+
***Lua development just got a whole lot better*** 🧠
1211

13-
## Change Log
14-
https://github.com/sumneko/lua-language-server/blob/master/changelog.md
12+
The Lua language server provides various language features for Lua to make development easier and faster. With around half a million installs on Visual Studio Code, it is the most popular extension for Lua language support.
1513

16-
## Wiki
17-
https://github.com/sumneko/lua-language-server/wiki
14+
## Features
1815

19-
## Feature
16+
- 📄 Over 20 supported [annotations](https://github.com/sumneko/lua-language-server/wiki/Annotations) for documenting your code
17+
- ↪ Go to definition
18+
- 🦺 Dynamic [type checking](https://github.com/sumneko/lua-language-server/wiki/Type-Checking)
19+
- 🔍 Find references
20+
- ⚠️ [Diagnostics/Warnings](https://github.com/sumneko/lua-language-server/wiki/Diagnostics)
21+
- 🕵️ [Syntax checking](https://github.com/sumneko/lua-language-server/wiki/Syntax-Errors)
22+
- 📝 Element renaming
23+
- 🗨️ Hover to view details on variables, functions, and more
24+
- 🖊️ Autocompletion
25+
- 📚 Support for [libraries](https://github.com/sumneko/lua-language-server/wiki/Libraries)
26+
- 💅 [Code formatting](https://github.com/sumneko/lua-language-server/wiki/Formatter)
27+
- 💬 [Spell checking](https://github.com/sumneko/lua-language-server/wiki/Formatter)
28+
- 🛠️ Custom [plugins](https://github.com/sumneko/lua-language-server/wiki/Plugins)
2029

21-
- [x] Goto Definition
22-
- [x] Find All References
23-
- [x] Hover
24-
- [x] Diagnostics
25-
- [x] Rename
26-
- [x] Auto Completion
27-
- [x] IntelliSense
28-
- [x] Signature Help
29-
- [x] Document Symbols
30-
- [x] Workspace Symbols
31-
- [x] Syntax Check
32-
- [x] Highlight
33-
- [x] Code Action
34-
- [x] EmmyLua Annotation
35-
- [x] Multi Workspace
36-
- [x] Semantic Tokens
37-
- [x] Formatter
30+
## Install
3831

39-
## Version
32+
The language server can easily be installed for use in VS Code, but it can also be used by other clients using the command line.
4033

41-
- [x] Lua 5.1
42-
- [x] Lua 5.2
43-
- [x] Lua 5.3
44-
- [x] Lua 5.4
45-
- [x] LuaJIT
34+
### Visual Studio Code
35+
[![Install in VS Code](https://img.shields.io/badge/Install-VS%20Code-blue "Install in VS Code")](https://marketplace.visualstudio.com/items?itemName=sumneko.lua)
36+
The language server and Visual Studio Code client can be installed from [the VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=sumneko.lua).
4637

47-
If you find any mistakes, please [tell me][issues] or use [Pull Requests][@meta] to fix them directly.
38+
![](https://github.com/sumneko/vscode-lua/raw/master/images//Install%20In%20VSCode.gif)
4839

49-
如果你发现了任何错误,请[告诉我][issues]或使用[Pull Requests][@meta]来直接修复。
40+
### Command Line
41+
[![Install for command line](https://img.shields.io/badge/Install-Command%20Line-blue "Install for command line")](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#command-line)
42+
Check the [wiki for a guide](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#command-line) to install the language server for use on the command line. This allows the language server to be used for NeoVim and other clients that follow the language server protocol.
43+
44+
## Supported Lua Versions
45+
| Version | Supported |
46+
| :-----: | :-------: |
47+
| Lua 5.1 ||
48+
| Lua 5.2 ||
49+
| Lua 5.3 ||
50+
| Lua 5.4 ||
51+
| LuaJIT ||
52+
53+
## Links
54+
- [Changelog](https://github.com/sumneko/lua-language-server/blob/master/changelog.md)
55+
- [Wiki](https://github.com/sumneko/lua-language-server/wiki)
56+
- [FAQ](https://github.com/sumneko/lua-language-server/wiki/FAQ)
57+
- [Report an issue][issues]
58+
- [Suggest a feature][issues]
59+
- [Discuss](https://github.com/sumneko/lua-language-server/discussions)
60+
61+
> If you find any mistakes, please [report it][issues] or open a [pull request][pulls] if you have a fix of your own ❤️
62+
>
63+
> 如果你发现了任何错误,请[告诉我][issues]或使用[Pull Requests][pulls]来直接修复。❤️
5064
5165
[issues]: https://github.com/sumneko/lua-language-server/issues
52-
[@meta]: https://github.com/sumneko/lua-language-server/tree/master/meta/template
66+
[pulls]: https://github.com/sumneko/lua-language-server/pulls
67+
68+
## Available Languages
69+
70+
`en-us`
71+
`zh-cn`
72+
`zh-tw`
73+
`pt-br`
5374

54-
## Locale
5575

56-
- [x] en-us
57-
- [x] zh-cn
58-
- [x] zh-tw (thanks [AlexCai2019](https://github.com/AlexCai2019))
59-
- [x] pt-br (thanks [Jeferson Ferreira](https://github.com/jefersonf))
76+
> ℹ Note: All translations are provided and collaborated on by the community. If you find an inappropriate or harmful translation, [please report it immediately](https://github.com/sumneko/lua-language-server/issues).
6077
61-
Please [help me][en-US] improve the quality of `en-US`.
78+
Are you able to [provide a translation](https://github.com/sumneko/lua-language-server/wiki/Translations)? It would be greatly appreciated!
79+
80+
Thank you to [all contributors of translations](https://github.com/sumneko/lua-language-server/commits/master/locale)!
6281

6382
[en-US]: https://github.com/sumneko/lua-language-server/tree/master/locale/en-us
6483

65-
## Build
66-
The extensions in the VSCode market already come with pre-compiled binary files, usually you don't need to compile them.
84+
## Configuration
85+
Configuration of the server can be done in a number of ways, which are explained more in-depth in the [wiki](https://github.com/sumneko/lua-language-server/wiki/Configuration-File).
86+
87+
### Visual Studio Code
88+
You can use the [settings editor](https://code.visualstudio.com/docs/getstarted/settings#_settings-editor) or edit the [raw JSON file](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson).
6789

68-
Other clients can first try to download and use [pre-compiled binary files](https://github.com/sumneko/lua-language-server/wiki/Get-Started#command-line).
90+
### Other
91+
See the [configuration file wiki page](https://github.com/sumneko/lua-language-server/wiki/Configuration-File).
6992

70-
If you need to compile by yourself, please refer to [here](https://github.com/sumneko/lua-language-server/wiki/Getting-Started#build)
7193

72-
## Setting
94+
## Privacy
95+
This language server has **opt-in** telemetry that collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/sumneko/lua-language-server/wiki/Home#privacy) to learn more.
7396

74-
* In VSCode: Just use the setting of VSCode.
75-
* Standalone: See https://github.com/sumneko/lua-language-server/wiki/Settings
97+
98+
## Contributors
99+
![GitHub Contributors Image](https://contrib.rocks/image?repo=sumneko/lua-language-server)
76100

77101
## Credit
102+
Software that the language server (or the development of it) uses:
78103

79104
* [bee.lua](https://github.com/actboy168/bee.lua)
80105
* [luamake](https://github.com/actboy168/luamake)
@@ -90,28 +115,3 @@ If you need to compile by yourself, please refer to [here](https://github.com/su
90115
* [json.lua](https://github.com/actboy168/json.lua)
91116
* [EmmyLuaCodeStyle](https://github.com/CppCXY/EmmyLuaCodeStyle)
92117
* [inspect.lua](https://github.com/kikito/inspect.lua)
93-
94-
## Acknowledgement
95-
96-
* [actboy168](https://github.com/actboy168)
97-
* [Dmitry Sannikov](https://github.com/dasannikov)
98-
* [Jayden Charbonneau](https://github.com/Reshiram110)
99-
* [Stjepan Bakrac](https://github.com/z16)
100-
* [Peter Young](https://github.com/young40)
101-
* [Li Xiaobin](https://github.com/Xiaobin0860)
102-
* [Fedora7](https://github.com/Fedora7)
103-
* [Allen Shaw](https://github.com/shuxiao9058)
104-
* [Bartel](https://github.com/Letrab)
105-
* [Ruin0x11](https://github.com/Ruin0x11)
106-
* [uhziel](https://github.com/uhziel)
107-
* [火凌之](https://github.com/PhoenixZeng)
108-
* [CppCXY](https://github.com/CppCXY)
109-
* [Ketho](https://github.com/Ketho)
110-
* [Folke Lemaitre](https://github.com/folke)
111-
* [Vikas Raj](https://github.com/numToStr)
112-
* [kevinhwang91](https://github.com/kevinhwang91)
113-
* [Cassolette](https://github.com/Cassolette)
114-
115-
## Telemetry
116-
117-
This language server collects usage data and sends it to the development team to help improve the extension. Read our [privacy policy](https://github.com/sumneko/lua-language-server/wiki/Home#privacy) to learn more and how to disable any telemetry.

0 commit comments

Comments
 (0)