Mercurial > dotfiles
diff .chezmoitemplates/init.lua @ 757:b9d3378f6c9e
fix: rename to lua_ls
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sat, 25 Feb 2023 09:36:39 +0100 |
parents | 04683b4f8df3 |
children | b64652ec91cb |
line wrap: on
line diff
--- a/.chezmoitemplates/init.lua Wed Feb 08 07:12:42 2023 +0100 +++ b/.chezmoitemplates/init.lua Sat Feb 25 09:36:39 2023 +0100 @@ -1229,7 +1229,7 @@ vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'single' }) vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with(vim.lsp.handlers.hover, { border = 'single' }) - if client.name == 'sumneko_lua' then + if client.name == 'lua_ls' then client.server_capabilities.documentFormattingProvider = false client.server_capabilities.documentRangeFormattingProvider = false end @@ -1326,7 +1326,7 @@ end, } -lsp.sumneko_lua.setup { +lsp.lua_ls.setup { lspconfig = { cmd = { 'lua-language-server' }, on_attach = on_attach,