Skip to content

Commit fb1d31d

Browse files
committed
fix #906
1 parent c6cac23 commit fb1d31d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 2.6.1
44
* `FIX` modify luarc failed
55
* `FIX` library files not recognized correctly
6+
* `FIX` [#906](https://github.com/sumneko/lua-language-server/issues/906)
67

78
## 2.6.0
89
`2022-1-13`

script/glob/matcher.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local m = require 'lpeglabel'
33
local Slash = m.S('/\\')^1
44
local Symbol = m.S',{}[]*?/\\'
55
local Char = 1 - Symbol
6-
local Path = Char^1 * Slash
6+
local Path = (1 - m.S[[\/:*?"<>|]])^1 * Slash
77
local NoWord = #(m.P(-1) + Symbol)
88
local function whatHappened()
99
return m.Cmt(m.P(1)^1, function (...)

0 commit comments

Comments
 (0)