Lua extension using sumneko lua-language-server for coc.nvim
This extension uses server binaries extracted from sumneko/vscode-lua
. You can also custom the server path(sumneko-lua.serverDir
).
Supported features by the server
Nvim lua development(check setting sumneko-lua.enableNvimLuaDev
). Credit: folke/neodev.nvim
Inlay-hints provided by coc.nvim.
:CocInstall coc-sumneko-lua
Command | Description |
---|---|
sumneko-lua.install | Install or update sumneko lua-language-server |
sumneko-lua.restart | Restart server |
sumneko-lua.version | Echo server version |
sumneko-lua.checkUpdate | Check update |
sumneko-lua.showTooltip | Show tooltips |
sumneko-lua.insertNvimLuaPluginLibrary | Insert nvim lua plugin to current workspace library |
sumneko-lua.downloadNvimLuaTypes | Download/Update nvim lua types(Clone https://github.com/folke/neodev.nvim) |
This extension is built with create-coc-extension
Author: Statiolake
Source Code: https://github.com/statiolake/coc-sumneko-lua
License: MIT license