summaryrefslogtreecommitdiff
path: root/server-beta/src/files.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-23 11:44:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-23 11:44:11 +0800
commit373cc0d6b746fef04ca353d05defc7f4d6324faa (patch)
treebafb5165d7a5e79a5c5bc9ea94e7a8c496722665 /server-beta/src/files.lua
parentcf3fb4859d6255fd6c5d4e4f448766db8f407389 (diff)
downloadlua-language-server-373cc0d6b746fef04ca353d05defc7f4d6324faa.zip
整理代码
Diffstat (limited to 'server-beta/src/files.lua')
-rw-r--r--server-beta/src/files.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server-beta/src/files.lua b/server-beta/src/files.lua
index 67a13aa8..4a6c920f 100644
--- a/server-beta/src/files.lua
+++ b/server-beta/src/files.lua
@@ -150,8 +150,8 @@ function m.getSearcher(uri)
return nil
end
if not file.searcher then
- local seacher = require 'seacher'
- file.searcher = seacher.create(uri)
+ local searcher = require 'searcher'
+ file.searcher = searcher.create(uri)
end
return file.searcher
end