aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/gdscript.lua
diff options
context:
space:
mode:
authorPeter Lithammer <peter.lithammer@gmail.com>2020-12-09 15:21:40 +0100
committerPeter Lithammer <peter.lithammer@gmail.com>2020-12-21 23:49:09 +0100
commitcb540d593f08a8f962828c95cc95fd63c650cd9f (patch)
tree485b630ed76c64732cf3c1ce19792855e24cf352 /lua/lspconfig/gdscript.lua
parent[docgen] Update README.md (diff)
downloadnvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.tar
nvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.tar.gz
nvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.tar.bz2
nvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.tar.lz
nvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.tar.xz
nvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.tar.zst
nvim-lspconfig-cb540d593f08a8f962828c95cc95fd63c650cd9f.zip
sumneko_lua: Use bufdir instead of homedir when resolving root_dir
The problem is that if you open a Lua file outside of a git repository, it will use your home directory as root directory. This causes Sumneko to scan your entire home directory for Lua files. Which is bad from both a security and performance point of view.
Diffstat (limited to 'lua/lspconfig/gdscript.lua')
0 files changed, 0 insertions, 0 deletions