From 7838c242e96c4f6c6432a997234bb2dbdbfea658 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 14 Oct 2025 19:22:03 -0400 Subject: docs: types, news, lua-plugin - mention "lua_ls", not "luals". https://github.com/neovim/neovim/discussions/36182 Co-authored-by: Maria Solano --- runtime/lua/vim/lsp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/lua/vim/lsp.lua') diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 40178cadb9..bb1fe6fa20 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -301,9 +301,9 @@ end --- filetypes = { 'c', 'cpp' }, --- } --- ``` ---- - Get the resolved configuration for "luals": +--- - Get the resolved configuration for "lua_ls": --- ```lua ---- local cfg = vim.lsp.config.luals +--- local cfg = vim.lsp.config.lua_ls --- ``` --- ---@since 13 @@ -522,7 +522,7 @@ end --- --- ```lua --- vim.lsp.enable('clangd') ---- vim.lsp.enable({'luals', 'pyright'}) +--- vim.lsp.enable({'lua_ls', 'pyright'}) --- ``` --- --- Example: [lsp-restart]() Passing `false` stops and detaches the client(s). Thus you can -- cgit