summaryrefslogtreecommitdiff
path: root/script/core/command
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-22 17:24:44 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-22 17:24:44 +0800
commit32aa2dac835a0c74b82b19d83d9fd06be7a947ce (patch)
treed3e162b147ebc030de703439a7dcf94bce013fe9 /script/core/command
parenta45e980f0d51c47229d18d0f859e718d203b472f (diff)
downloadlua-language-server-32aa2dac835a0c74b82b19d83d9fd06be7a947ce.zip
cleanup
Diffstat (limited to 'script/core/command')
-rw-r--r--script/core/command/autoRequire.lua1
-rw-r--r--script/core/command/removeSpace.lua1
2 files changed, 0 insertions, 2 deletions
diff --git a/script/core/command/autoRequire.lua b/script/core/command/autoRequire.lua
index 2cb6a8f8..e784a827 100644
--- a/script/core/command/autoRequire.lua
+++ b/script/core/command/autoRequire.lua
@@ -6,7 +6,6 @@ local client = require 'client'
local lang = require 'language'
local function findInsertOffset(uri)
- local lines = files.getLines(uri)
local text = files.getText(uri)
local fmt = {
pair = false,
diff --git a/script/core/command/removeSpace.lua b/script/core/command/removeSpace.lua
index b94f9788..34c74ce0 100644
--- a/script/core/command/removeSpace.lua
+++ b/script/core/command/removeSpace.lua
@@ -13,7 +13,6 @@ end
return function (data)
local uri = data.uri
- local lines = files.getLines(uri)
local text = files.getText(uri)
local ast = files.getState(uri)
if not lines then