mirror of
https://github.com/neovim/neovim.git
synced 2026-06-06 20:14:19 +00:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user