diff options
| author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2024-05-25 21:22:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-25 21:22:41 +0200 |
| commit | f03b1622ad1b8e2df16504631f05e7577e217854 (patch) | |
| tree | b0adf8a80c474b861598a96ad2ace17638e3c62f /runtime/doc | |
| parent | 520c2657bb6832dc527bff94f313a1cc458238a4 (diff) | |
| download | rneovim-f03b1622ad1b8e2df16504631f05e7577e217854.tar.gz rneovim-f03b1622ad1b8e2df16504631f05e7577e217854.tar.bz2 rneovim-f03b1622ad1b8e2df16504631f05e7577e217854.zip | |
fix(lsp): handle nil root_dir in health check (#29007)
The root directory could show up as something like:
Root directory: ~/path/to/cwd/v:null
Despite being `nil`
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 50fffca497..a66b577b11 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -996,7 +996,7 @@ Lua module: vim.lsp.client *lsp-client* if the client supports workspace folders. It can be `null` if the client supports workspace folders but none are configured. - • {root_dir} (`string`) + • {root_dir} (`string?`) • {attached_buffers} (`table<integer,true>`) • {commands} (`table<string,fun(command: lsp.Command, ctx: table)>`) Table of command name to function which is |