https://github.com/xiyaowong/coc-sumneko-lua
Lua extension using sumneko lua-language-server for coc.nvim
https://github.com/xiyaowong/coc-sumneko-lua
coc coc-extension coc-nvim neovim sumneko-lua
Last synced: 3 months ago
JSON representation
Lua extension using sumneko lua-language-server for coc.nvim
- Host: GitHub
- URL: https://github.com/xiyaowong/coc-sumneko-lua
- Owner: xiyaowong
- License: mit
- Created: 2021-07-09T05:40:38.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T14:37:09.000Z (almost 2 years ago)
- Last Synced: 2025-04-09T15:03:03.888Z (about 1 year ago)
- Topics: coc, coc-extension, coc-nvim, neovim, sumneko-lua
- Language: TypeScript
- Homepage:
- Size: 1.11 MB
- Stars: 118
- Watchers: 2
- Forks: 10
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coc-sumneko-lua
Lua extension using sumneko lua-language-server for coc.nvim
This extension uses server binaries extracted from [`sumneko/vscode-lua`](https://github.com/sumneko/vscode-lua).
You can also custom the server path([`sumneko-lua.serverDir`](https://github.com/xiyaowong/coc-sumneko-lua/blob/main/settings.md#sumneko-luaserverdir)).
## Features
- Supported features by the server

- Nvim lua development(check setting `sumneko-lua.enableNvimLuaDev`). Credit: [folke/neodev.nvim](https://github.com/folke/neodev.nvim)

- Inlay-hints provided by coc.nvim.
## Install
`:CocInstall coc-sumneko-lua`
## [Settings (Click me)](settings.md)
## [Config Examples for Distributions (Currently only NixOS)](examples-for-distributions.md)
## Commands
| 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) |
## Credit
- [`fannheyward/coc-rust-analyzer`](https://github.com/fannheyward/coc-rust-analyzer)
- [`sumneko/vscode-lua`](https://github.com/sumneko/vscode-lua)
- [`josa42/coc-lua`](https://github.com/josa42/coc-lua)
## License
MIT
---
> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)