summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-04-16 20:11:28 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-04-16 20:11:28 +0800
commite676b97ee6c54ac843b51f2d6062689a428f0c28 (patch)
treef15793684a43e0550927f4432c99ef33c4ade13d /server
parent427de0d7ca00fb5839fb395795b8035a810a69b8 (diff)
downloadlua-language-server-e676b97ee6c54ac843b51f2d6062689a428f0c28.zip
math.power -> math.pow
Diffstat (limited to 'server')
-rw-r--r--server/libs/@lua/math.lni2
-rw-r--r--server/locale/en-US/libs/@lua/math.lni2
-rw-r--r--server/locale/zh-CN/libs/@lua/math.lni2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/libs/@lua/math.lni b/server/libs/@lua/math.lni
index ecc0360d..90b92c79 100644
--- a/server/libs/@lua/math.lni
+++ b/server/libs/@lua/math.lni
@@ -220,7 +220,7 @@ type = 'number'
[pi]
type = 'number'
-[power]
+[pow]
version = {'Lua 5.1', 'Lua 5.2', 'LuaJIT'}
[[.args]]
name = 'x'
diff --git a/server/locale/en-US/libs/@lua/math.lni b/server/locale/en-US/libs/@lua/math.lni
index e5bfb122..52645cee 100644
--- a/server/locale/en-US/libs/@lua/math.lni
+++ b/server/locale/en-US/libs/@lua/math.lni
@@ -73,7 +73,7 @@ description = 'Returns the integral part of `x` and the fractional part of `x`.'
[pi]
description = 'The value of *π*.'
-[power]
+[pow]
description = 'Returns `x ^ y` .'
[rad]
diff --git a/server/locale/zh-CN/libs/@lua/math.lni b/server/locale/zh-CN/libs/@lua/math.lni
index f1a6768a..c89ca616 100644
--- a/server/locale/zh-CN/libs/@lua/math.lni
+++ b/server/locale/zh-CN/libs/@lua/math.lni
@@ -73,7 +73,7 @@ description = '返回 `x` 的整数部分和小数部分。'
[pi]
description = '*π* 的值。'
-[power]
+[pow]
description = '返回 `x ^ y` 。'
[rad]