File tree Expand file tree Collapse file tree 5 files changed +15
-14
lines changed
Expand file tree Collapse file tree 5 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 1313* ` FIX ` Bad triggering of the ` inject-field ` diagnostic, when the fields are declared at the creation of the object [ #2746 ] ( https://github.com/LuaLS/lua-language-server/issues/2746 )
1414* ` CHG ` Change spacing of parameter inlay hints to match other LSPs, like ` rust-analyzer `
1515* ` FIX ` Inconsistent type narrow behavior of function call args [ #2758 ] ( https://github.com/LuaLS/lua-language-server/issues/2758 )
16+ * ` FIX ` Typos in annotation descriptions
1617
1718## 3.9.3
1819` 2024-6-11 `
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ Provide type declaration for [operator metamethods](http://lua-users.org/wiki/Me
11671167### Vector Add Metamethod
11681168```
11691169---@class Vector
1170- ---@operation add(Vector):Vector
1170+ ---@operator add(Vector):Vector
11711171
11721172vA = Vector.new(1, 2, 3)
11731173vB = Vector.new(10, 20, 30)
@@ -1178,7 +1178,7 @@ vC = vA + vB
11781178### Unary Minus
11791179```
11801180---@class Passcode
1181- ---@operation unm:integer
1181+ ---@operator unm:integer
11821182
11831183pA = Passcode.new(1234)
11841184pB = -pA
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ Provide type declaration for [operator metamethods](http://lua-users.org/wiki/Me
11671167### Vector Add Metamethod
11681168```
11691169---@class Vector
1170- ---@operation add(Vector):Vector
1170+ ---@operator add(Vector):Vector
11711171
11721172vA = Vector.new(1, 2, 3)
11731173vB = Vector.new(10, 20, 30)
@@ -1178,7 +1178,7 @@ vC = vA + vB
11781178### Unary Minus
11791179```
11801180---@class Passcode
1181- ---@operation unm:integer
1181+ ---@operator unm:integer
11821182
11831183pA = Passcode.new(1234)
11841184pB = -pA
@@ -1216,7 +1216,7 @@ setColor(colors.green)
12161216LUADOC_DESC_SOURCE = -- TODO: need translate!
12171217[=[
12181218Provide a reference to some source code which lives in another file. When
1219- searching for the defintion of an item, its `@source` will be used.
1219+ searching for the definition of an item, its `@source` will be used.
12201220
12211221## Syntax
12221222`@source <path>`
@@ -1264,7 +1264,7 @@ end
12641264LUADOC_DESC_PRIVATE = -- TODO: need translate!
12651265[=[
12661266Mark a function as private to a @class. Private functions can be accessed only
1267- from within their class and are not accessable from child classes.
1267+ from within their class and are not accessible from child classes.
12681268
12691269## Syntax
12701270`@private`
Original file line number Diff line number Diff line change @@ -1167,7 +1167,7 @@ Provide type declaration for [operator metamethods](http://lua-users.org/wiki/Me
11671167### Vector Add Metamethod
11681168```
11691169---@class Vector
1170- ---@operation add(Vector):Vector
1170+ ---@operator add(Vector):Vector
11711171
11721172vA = Vector.new(1, 2, 3)
11731173vB = Vector.new(10, 20, 30)
@@ -1178,7 +1178,7 @@ vC = vA + vB
11781178### Unary Minus
11791179```
11801180---@class Passcode
1181- ---@operation unm:integer
1181+ ---@operator unm:integer
11821182
11831183pA = Passcode.new(1234)
11841184pB = -pA
@@ -1216,7 +1216,7 @@ setColor(colors.green)
12161216LUADOC_DESC_SOURCE = -- TODO: need translate!
12171217[=[
12181218Provide a reference to some source code which lives in another file. When
1219- searching for the defintion of an item, its `@source` will be used.
1219+ searching for the definition of an item, its `@source` will be used.
12201220
12211221## Syntax
12221222`@source <path>`
@@ -1264,7 +1264,7 @@ end
12641264LUADOC_DESC_PRIVATE = -- TODO: need translate!
12651265[=[
12661266Mark a function as private to a @class. Private functions can be accessed only
1267- from within their class and are not accessable from child classes.
1267+ from within their class and are not accessible from child classes.
12681268
12691269## Syntax
12701270`@private`
Original file line number Diff line number Diff line change @@ -1161,7 +1161,7 @@ Provide type declaration for [operator metamethods](http://lua-users.org/wiki/Me
11611161### Vector Add Metamethod
11621162```
11631163---@class Vector
1164- ---@operation add(Vector):Vector
1164+ ---@operator add(Vector):Vector
11651165
11661166vA = Vector.new(1, 2, 3)
11671167vB = Vector.new(10, 20, 30)
@@ -1172,7 +1172,7 @@ vC = vA + vB
11721172### Unary Minus
11731173```
11741174---@class Passcode
1175- ---@operation unm:integer
1175+ ---@operator unm:integer
11761176
11771177pA = Passcode.new(1234)
11781178pB = -pA
@@ -1210,7 +1210,7 @@ setColor(colors.green)
12101210LUADOC_DESC_SOURCE = -- TODO: need translate!
12111211[=[
12121212Provide a reference to some source code which lives in another file. When
1213- searching for the defintion of an item, its `@source` will be used.
1213+ searching for the definition of an item, its `@source` will be used.
12141214
12151215## Syntax
12161216`@source <path>`
@@ -1258,7 +1258,7 @@ end
12581258LUADOC_DESC_PRIVATE = -- TODO: need translate!
12591259[=[
12601260Mark a function as private to a @class. Private functions can be accessed only
1261- from within their class and are not accessable from child classes.
1261+ from within their class and are not accessible from child classes.
12621262
12631263## Syntax
12641264`@private`
You can’t perform that action at this time.
0 commit comments