diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-23 11:44:11 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-23 11:44:11 +0800 |
commit | 373cc0d6b746fef04ca353d05defc7f4d6324faa (patch) | |
tree | bafb5165d7a5e79a5c5bc9ea94e7a8c496722665 /server-beta/src/files.lua | |
parent | cf3fb4859d6255fd6c5d4e4f448766db8f407389 (diff) | |
download | lua-language-server-373cc0d6b746fef04ca353d05defc7f4d6324faa.zip |
整理代码
Diffstat (limited to 'server-beta/src/files.lua')
-rw-r--r-- | server-beta/src/files.lua | 4 |
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 |