diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-09 13:22:47 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-09 13:22:47 +0800 |
commit | b85fbef97096a81ab206ec2def71ac22fb4c87c9 (patch) | |
tree | 1a46fb48e104d54d3529ba92d27c037d60c76d05 /script/vm | |
parent | 8983fa79a81e8b05bf8a81c799b71cbf5577ca1d (diff) | |
download | lua-language-server-b85fbef97096a81ab206ec2def71ac22fb4c87c9.zip |
fix
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/eachDef.lua | 3 | ||||
-rw-r--r-- | script/vm/eachRef.lua | 3 | ||||
-rw-r--r-- | script/vm/getDocs.lua | 3 | ||||
-rw-r--r-- | script/vm/getGlobals.lua | 3 | ||||
-rw-r--r-- | script/vm/getLibrary.lua | 3 | ||||
-rw-r--r-- | script/vm/getLinks.lua | 3 | ||||
-rw-r--r-- | script/vm/vm.lua | 2 |
7 files changed, 13 insertions, 7 deletions
diff --git a/script/vm/eachDef.lua b/script/vm/eachDef.lua index 2bfad4bf..65cae73e 100644 --- a/script/vm/eachDef.lua +++ b/script/vm/eachDef.lua @@ -1,4 +1,5 @@ ----@type vm +---@diagnostic disable-next-line +---@class vm local vm = require 'vm.vm' local searcher = require 'core.searcher' diff --git a/script/vm/eachRef.lua b/script/vm/eachRef.lua index 35425818..6e008e2a 100644 --- a/script/vm/eachRef.lua +++ b/script/vm/eachRef.lua @@ -1,4 +1,5 @@ ----@type vm +---@diagnostic disable-next-line +---@class vm local vm = require 'vm.vm' local searcher = require 'core.searcher' diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua index 58de5680..ba4fb560 100644 --- a/script/vm/getDocs.lua +++ b/script/vm/getDocs.lua @@ -1,6 +1,7 @@ local files = require 'files' local guide = require 'parser.guide' ----@type vm +---@diagnostic disable-next-line +---@class vm local vm = require 'vm.vm' local config = require 'config' local collector = require 'core.collector' diff --git a/script/vm/getGlobals.lua b/script/vm/getGlobals.lua index f2117d07..5d64cef6 100644 --- a/script/vm/getGlobals.lua +++ b/script/vm/getGlobals.lua @@ -1,5 +1,6 @@ local collector = require 'core.collector' ----@type vm +---@diagnostic disable-next-line +---@class vm local vm = require 'vm.vm' local noder = require 'core.noder' diff --git a/script/vm/getLibrary.lua b/script/vm/getLibrary.lua index a3c8feb0..1002babb 100644 --- a/script/vm/getLibrary.lua +++ b/script/vm/getLibrary.lua @@ -1,4 +1,5 @@ ----@type vm +---@diagnostic disable-next-line +---@class vm local vm = require 'vm.vm' function vm.getLibraryName(source) diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua index 62e9d8af..245b6919 100644 --- a/script/vm/getLinks.lua +++ b/script/vm/getLinks.lua @@ -1,5 +1,6 @@ local guide = require 'parser.guide' ----@type vm +---@diagnostic disable-next-line +---@class vm local vm = require 'vm.vm' local files = require 'files' diff --git a/script/vm/vm.lua b/script/vm/vm.lua index b2f420df..9254c799 100644 --- a/script/vm/vm.lua +++ b/script/vm/vm.lua @@ -13,7 +13,7 @@ local mathHuge = math.huge local weakMT = { __mode = 'kv' } _ENV = nil - +---@diagnostic disable-next-line ---@class vm local m = {} |