Coc-Sumneko-Lua: Advanced LSP for Neovim

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

Settings (Click me)

Config Examples for Distributions (Currently only NixOS)

Commands

CommandDescription
sumneko-lua.installInstall or update sumneko lua-language-server
sumneko-lua.restartRestart server
sumneko-lua.versionEcho server version
sumneko-lua.checkUpdateCheck update
sumneko-lua.showTooltipShow tooltips
sumneko-lua.insertNvimLuaPluginLibraryInsert nvim lua plugin to current workspace library
sumneko-lua.downloadNvimLuaTypesDownload/Update nvim lua types(Clone https://github.com/folke/neodev.nvim)

Credit


This extension is built with create-coc-extension


Download Details:

Author: Statiolake
Source Code: https://github.com/statiolake/coc-sumneko-lua 
License: MIT license

#lua #server #vim 

Coc-Sumneko-Lua: Advanced LSP for Neovim
2.25 GEEK