diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-10-14 19:22:03 -0400 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2025-10-24 02:07:37 +0200 |
| commit | 7838c242e96c4f6c6432a997234bb2dbdbfea658 (patch) | |
| tree | 9e0b70d47414006a712ad91a00710dc41da526a7 /runtime/lua/vim/lsp.lua | |
| parent | 07d0da64ed51202f0dbd92d43c89aa5f246b175e (diff) | |
| download | rneovim-7838c242e96c4f6c6432a997234bb2dbdbfea658.tar.gz rneovim-7838c242e96c4f6c6432a997234bb2dbdbfea658.tar.bz2 rneovim-7838c242e96c4f6c6432a997234bb2dbdbfea658.zip | |
docs: types, news, lua-plugin
- mention "lua_ls", not "luals". https://github.com/neovim/neovim/discussions/36182
Co-authored-by: Maria Solano <majosolano99@gmail.com>
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
| -rw-r--r-- | runtime/lua/vim/lsp.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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 |