aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docgen.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-12-18 07:47:53 +0100
committerGitHub <noreply@github.com>2022-12-18 14:47:53 +0800
commit973aa14d0992df82ff82f714d978a3eb8d676600 (patch)
tree84d52de363f45c66c981219fc50aad6035c393d3 /scripts/docgen.lua
parentfeat: add rockspec (diff)
downloadnvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.tar
nvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.tar.gz
nvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.tar.bz2
nvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.tar.lz
nvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.tar.xz
nvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.tar.zst
nvim-lspconfig-973aa14d0992df82ff82f714d978a3eb8d676600.zip
fix(lspinfo): safely expand filenames that don't exist on fs (#2320)
The filename of a buffer may point to a node on the file system that does not yet exist. `uv.fs_realpath()` will return nil in these cases, causing a nil exception later on. The builtin `resolve()` function will return the provided filename as-is if it does not yet exist. Alternatively we could stick to libuv APIs.
Diffstat (limited to 'scripts/docgen.lua')
0 files changed, 0 insertions, 0 deletions