diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-02-24 16:49:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-02-24 16:49:15 +0800 |
commit | b313aa2c12cb560d0ffe01d3df5a70c66531fa8a (patch) | |
tree | 1268942fa1093b80fb59798a9ce3188c06c2386c /script/glob/matcher.lua | |
parent | b37ebceffe695defd7e7976e653ce127618614c0 (diff) | |
download | lua-language-server-b313aa2c12cb560d0ffe01d3df5a70c66531fa8a.zip |
fix #965
Diffstat (limited to 'script/glob/matcher.lua')
-rw-r--r-- | script/glob/matcher.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/glob/matcher.lua b/script/glob/matcher.lua index fceb32e2..af43e087 100644 --- a/script/glob/matcher.lua +++ b/script/glob/matcher.lua @@ -3,7 +3,7 @@ local m = require 'lpeglabel' local Slash = m.S('/\\')^1 local Symbol = m.S',{}[]*?/\\' local Char = 1 - Symbol -local Path = (1 - m.S[[\/:*?"<>|]])^1 * Slash +local Path = (1 - m.S[[\/*?"<>|]])^1 * Slash local NoWord = #(m.P(-1) + Symbol) local function whatHappened() return m.Cmt(m.P(1)^1, function (...) |