diff options
| author | William Boman <william@redwill.se> | 2022-12-18 07:47:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-18 14:47:53 +0800 |
| commit | 973aa14d0992df82ff82f714d978a3eb8d676600 (patch) | |
| tree | 84d52de363f45c66c981219fc50aad6035c393d3 /scripts/docgen.lua | |
| parent | feat: add rockspec (diff) | |
| download | nvim-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
