在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):Alloyed/lua-lsp开源软件地址(OpenSource Url):https://github.com/Alloyed/lua-lsp开源编程语言(OpenSource Language):Lua 99.8%开源软件介绍(OpenSource Introduction):lua-lspA Language Server for Lua code, written in Lua. It's still a work in progress, but it's usable for day-to-day. It currently supports:
Installation/Usagelua-lsp can be installed using luarocks:
This will install the Pluginslua-lsp automatically integrates with common lua packages, when they are installed. For linting, install luacheck:
For code formatting, we currently support Formatter and LCF. Formatter is 5.1 only, whereas lcf is 5.3 only. 5.1:
If you have another package you'd like to see integrated, feel free to leave an issue/PR. Other plugins are always welcome, especially if they provide materially different results. if lua-cjson is installed, we will optionally use it for a speed boost. It is unfortunately not supported by all versions of lua at the moment, but as soon as it is we will switch to making it mandatory.
Configurationlua-lsp reads a few project-level configuration files to do its work. To configure linting, we read your standard .luacheckrc file. For autocomplete support, we reimplement the .luacompleterc format
created by atom-autocomplete-lua. In particular, we need More LSP-specific configuration flags will hopefully be provided through your editor's configuration support. TODOThe LSP spec is big, and we don't implement all of it. here's a quick wishlist ordered by roughly by priority/feasibility.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论