LSP-lua
Convenience package with a lua language server bundled
Details
Installs
- Total 2K
- Win 879
- Mac 435
- Linux 620
Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 3 | 2 | 0 | 0 | 3 | 2 | 3 | 1 | 2 | 0 | 1 | 2 | 0 | 0 | 1 | 1 | 0 | 0 | 3 | 0 | 1 | 0 | 1 | 2 | 1 | 0 | 1 | 1 | 8 | 1 | 1 | 2 | 3 | 0 | 4 | 0 | 1 | 1 | 1 | 3 | 2 | 2 | 2 | 2 | 2 |
Mac | 0 | 1 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 3 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 3 | 0 | 0 | 3 | 4 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 2 | 1 | 2 | 0 |
Linux | 0 | 1 | 0 | 2 | 1 | 1 | 2 | 1 | 2 | 2 | 0 | 1 | 1 | 6 | 1 | 1 | 1 | 3 | 3 | 1 | 1 | 2 | 0 | 1 | 0 | 3 | 3 | 1 | 3 | 1 | 3 | 0 | 4 | 0 | 1 | 3 | 0 | 3 | 0 | 1 | 2 | 3 | 3 | 3 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
LSP-lua
A language client for Lua. This package will download and unpack the lua-language-server in $DATA/Package Storage/LSP-lua
.
To use this package, you must have:
- The LSP package.
Applicable Selectors
This language server operates on files with the source.lua
base scope.
Configuration
Run Preferences: LSP-lua Settings
from the Command Palette.
Locale
You can make this language server report documentation in English or Chinese. The default is English. To change it
into Chinese, run the command Preferences: LSP-lua Settings
and change the "locale"
key.
Popup highlighting
The code blocks that this language server returns are not valid Lua code. Consequently the built-in syntax highlighter marks most code blocks as invalid. Set
"mdpopups.use_sublime_highlighter": false,
in Packages/User/Preferences.sublime-settings to use pygments instead, which is a highlighter that is more forgiving.
Disabling Diagnostics via Code Actions
This language server allows you to disable diagnostics by means of a Code Action. You can run the “Code Action” and the client (this package) is supposed to modify the settings to add or remove the unwanted diagnostic. This package implements that by editing your .sublime-project file. So in order for this to work, you need to have your window be backed by a .sublime-project file. Learn more about projects here.