diff options
| author | Matěj Cepl <mcepl@cepl.eu> | 2021-12-28 02:03:20 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-12-28 13:33:01 +0100 |
| commit | 03d7ebe23246e9f70fd11f21dae0ee259b678694 (patch) | |
| tree | ca954d550d5317fd35244c8bf28c07b472780906 | |
| parent | fbb4437da34337ef7aeea1370b81b5328d0747dd (diff) | |
| download | vis-lspc-03d7ebe23246e9f70fd11f21dae0ee259b678694.tar.gz vis-lspc-03d7ebe23246e9f70fd11f21dae0ee259b678694.zip | |
add Lua LSP server configuration
| -rw-r--r-- | init.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -195,8 +195,12 @@ local clangd = {name = 'clangd', cmd = 'clangd'} -- https://github.com/python-lsp/python-lsp-server local pyls = {name = 'python-lsp-sever', cmd = 'pylsp'} +-- lua (lua-language-server) language server configuration +-- https://github.com/sumneko/lua-language-server +local luals = {name = 'lua-language-server', cmd = 'lua-language-server'} + -- map of known language servers per syntax -lspc.ls_map = {cpp = clangd, ansi_c = clangd, python = pyls} +lspc.ls_map = {cpp = clangd, ansi_c = clangd, python = pyls, lua = luals} -- return the name of the language server for this syntax local function get_ls_name_for_syntax(syntax) |
