LSP-lua
Convenience package with a lua language server bundled
Details
Installs
- Total 3K
- Win 2K
- Mac 708
- Linux 1K
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 1 | 0 | 1 | 1 | 2 | 3 | 0 | 0 | 4 | 1 | 2 | 3 | 4 | 1 | 2 | 8 | 3 | 3 | 2 | 1 | 3 | 0 | 2 | 6 | 1 | 2 | 0 | 0 | 4 | 3 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 2 | 4 | 4 | 4 | 2 | 1 | 2 |
Mac | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 2 | 1 | 0 | 1 | 0 | 0 | 4 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 4 | 1 | 1 | 0 | 1 | 1 | 2 | 0 | 0 | 1 | 0 | 3 |
Linux | 0 | 1 | 1 | 0 | 3 | 4 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 3 | 0 | 2 | 1 | 2 | 0 | 1 | 1 | 0 | 2 | 2 | 5 | 0 | 2 | 1 | 0 | 1 | 3 | 5 | 1 | 1 |
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.