diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2021-08-19 18:15:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 18:15:18 +0200 |
commit | ff0833cb4eda9f27ec8748f388b151d785307359 (patch) | |
tree | e68f4912a113bd8eb06bba0c5eb6b863cb0915d5 /runtime/lua/vim/lsp/protocol.lua | |
parent | ea39ff57325671b4a8b54a585f45a802cc8da5ba (diff) | |
download | rneovim-ff0833cb4eda9f27ec8748f388b151d785307359.tar.gz rneovim-ff0833cb4eda9f27ec8748f388b151d785307359.tar.bz2 rneovim-ff0833cb4eda9f27ec8748f388b151d785307359.zip |
feat(lsp): allow root_dir to be nil (#15430)
According to the protocol definition `rootPath`, `rootUri` and
`workspaceFolders` are allowed to be null.
Some language servers utilize this to provide "single file" support.
If all three are null, they don't attempt to index a directory but
instead only provide capabilities for a single file.
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
0 files changed, 0 insertions, 0 deletions