aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2021-08-19 18:15:18 +0200
committerGitHub <noreply@github.com>2021-08-19 18:15:18 +0200
commitff0833cb4eda9f27ec8748f388b151d785307359 (patch)
treee68f4912a113bd8eb06bba0c5eb6b863cb0915d5 /runtime/lua/vim/lsp/protocol.lua
parentea39ff57325671b4a8b54a585f45a802cc8da5ba (diff)
downloadrneovim-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