mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
docs: misc
Co-authored-by: David Pedersen <limero@me.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Leo Schlosser <Leo.Schlosser@Student.HTW-Berlin.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
@ -235,9 +235,9 @@ end
|
||||
--- - `name` arbitrary name for the LSP client. Should be unique per language server.
|
||||
--- - `cmd` command string[] or function, described at |vim.lsp.start_client()|.
|
||||
--- - `root_dir` path to the project root. By default this is used to decide if an existing client
|
||||
--- should be re-used. The example above uses |vim.fs.root()| and |vim.fs.dirname()| to detect
|
||||
--- the root by traversing the file system upwards starting from the current directory until
|
||||
--- either a `pyproject.toml` or `setup.py` file is found.
|
||||
--- should be re-used. The example above uses |vim.fs.root()| to detect the root by traversing
|
||||
--- the file system upwards starting from the current directory until either a `pyproject.toml`
|
||||
--- or `setup.py` file is found.
|
||||
--- - `workspace_folders` list of `{ uri:string, name: string }` tables specifying the project root
|
||||
--- folders used by the language server. If `nil` the property is derived from `root_dir` for
|
||||
--- convenience.
|
||||
|
Reference in New Issue
Block a user