changeset 757:b9d3378f6c9e

fix: rename to lua_ls
author zegervdv <zegervdv@me.com>
date Sat, 25 Feb 2023 09:36:39 +0100
parents a1a7841c55d2
children 3a07cc5c825a
files .chezmoitemplates/init.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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,