diff options
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 |