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