summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-24 16:49:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-24 16:49:15 +0800
commitb313aa2c12cb560d0ffe01d3df5a70c66531fa8a (patch)
tree1268942fa1093b80fb59798a9ce3188c06c2386c /script
parentb37ebceffe695defd7e7976e653ce127618614c0 (diff)
downloadlua-language-server-b313aa2c12cb560d0ffe01d3df5a70c66531fa8a.zip
fix #965
Diffstat (limited to 'script')
-rw-r--r--script/glob/matcher.lua2
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 (...)