diff options
author | sumneko <sumneko@hotmail.com> | 2022-01-23 19:24:49 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2022-01-23 19:24:49 +0800 |
commit | 7fc0bde24d7ba080988b5bba6faf227376191ddc (patch) | |
tree | 6f06f895ba2687a85a7259b2c5135013104ca039 /script/core | |
parent | 48f59772c3fdf2fdc5a250f8f770ad16f1f0b3ab (diff) | |
download | lua-language-server-7fc0bde24d7ba080988b5bba6faf227376191ddc.zip |
diagnostic check file as folder before as library
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/rename.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/rename.lua b/script/core/rename.lua index d90a49bb..69021197 100644 --- a/script/core/rename.lua +++ b/script/core/rename.lua @@ -354,7 +354,7 @@ function m.rename(uri, pos, newname) return end mark[uid] = true - if files.isLibrary(turi) then + if files.isLibrary(turi, true) then return end results[#results+1] = { |