ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-lua

by sublimelsp ST4

Convenience package with a lua language server bundled

Details

Installs

  • Total 4K
  • Win 2K
  • Mac 759
  • Linux 1K
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7
Windows 0 3 4 2 2 1 1 2 0 2 5 4 2 2 2 3 2 1 0 4 1 2 0 1 1 5 1 1 2 0 0 1 0 0 1 2 1 2 1 0 0 3 3 0 1 1
Mac 0 1 1 1 0 1 0 1 1 3 0 2 0 3 0 3 1 1 4 1 0 0 1 1 0 0 0 0 6 0 0 1 0 2 1 0 0 0 1 1 0 0 4 1 2 1
Linux 0 2 2 2 1 0 4 1 1 0 2 5 1 1 1 2 0 3 2 2 2 0 1 2 0 0 0 1 1 1 0 0 0 3 0 0 5 4 1 1 2 4 1 0 0 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.