Skip to content

Lua extension using sumneko lua-language-server for coc.nvim

License

Notifications You must be signed in to change notification settings

xiyaowong/coc-sumneko-lua

Repository files navigation

coc-sumneko-lua

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).

Features

  • Supported features by the server

    base

  • Nvim lua development(check setting sumneko-lua.enableNvimLuaDev). Credit: folke/neodev.nvim

    nvim-lua-dev

  • Inlay-hints provided by coc.nvim.

Install

:CocInstall coc-sumneko-lua

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

License

MIT


This extension is built with create-coc-extension