Skip to content

Commit b53c18f

Browse files
committed
don't diagnose git uri
fix #2267
1 parent fc57390 commit b53c18f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
* `FIX` wrong hover and signature for method with varargs and overloads
88
* `FIX` [#2155]
99
* `FIX` [#2224]
10+
* `FIX` [#2267]
1011

1112
[#2155]: https://github.com/LuaLS/lua-language-server/issues/2155
1213
[#2224]: https://github.com/LuaLS/lua-language-server/issues/2224
14+
[#2267]: https://github.com/LuaLS/lua-language-server/issues/2267
1315

1416
## 3.6.25
1517
`2023-7-26`

script/file-uri.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ function m.isValid(uri)
102102
if path == '' then
103103
return false
104104
end
105+
if scheme ~= 'file' then
106+
return false
107+
end
105108
return true
106109
end
107110

0 commit comments

Comments
 (0)