diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-02-02 19:11:47 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-02-02 19:11:47 +0800 |
commit | 5f7221b244abd064e404431dc39b18ffd62bc3aa (patch) | |
tree | b046f8da4cc24e8b0433a682ca88ac211d50904a /meta | |
parent | 3254ba0c91e682f7c2487c4633309c10a86c82c6 (diff) | |
download | lua-language-server-5f7221b244abd064e404431dc39b18ffd62bc3aa.zip |
fix #371 dont require meta from other version
Diffstat (limited to 'meta')
-rw-r--r-- | meta/template/bit.lua | 1 | ||||
-rw-r--r-- | meta/template/bit32.lua | 1 | ||||
-rw-r--r-- | meta/template/ffi.lua | 1 | ||||
-rw-r--r-- | meta/template/jit.lua | 1 | ||||
-rw-r--r-- | meta/template/utf8.lua | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/meta/template/bit.lua b/meta/template/bit.lua index 09b69194..c50e47e5 100644 --- a/meta/template/bit.lua +++ b/meta/template/bit.lua @@ -1,3 +1,4 @@ +---#if not JIT then DISABLE() end ---@meta ---@version JIT diff --git a/meta/template/bit32.lua b/meta/template/bit32.lua index 25e4b27a..19686541 100644 --- a/meta/template/bit32.lua +++ b/meta/template/bit32.lua @@ -1,3 +1,4 @@ +---#if VERSION ~= 5.2 then DISABLE() end ---@meta ---@version 5.2 diff --git a/meta/template/ffi.lua b/meta/template/ffi.lua index 7ffe0e47..8e7137e4 100644 --- a/meta/template/ffi.lua +++ b/meta/template/ffi.lua @@ -1,3 +1,4 @@ +---#if not JIT then DISABLE() end ---@meta ---@class ffi.namespace*: table diff --git a/meta/template/jit.lua b/meta/template/jit.lua index 560e1264..9580c0e3 100644 --- a/meta/template/jit.lua +++ b/meta/template/jit.lua @@ -1,3 +1,4 @@ +---#if not JIT then DISABLE() end ---@meta ---@version JIT diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua index 1cc35361..52dbe5be 100644 --- a/meta/template/utf8.lua +++ b/meta/template/utf8.lua @@ -1,3 +1,4 @@ +---#if VERSION <= 5.2 then DISABLE() end ---@meta ---@version >5.3 |