File tree 5 files changed +15
-14
lines changed
5 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 13
13
* ` 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 )
14
14
* ` CHG ` Change spacing of parameter inlay hints to match other LSPs, like ` rust-analyzer `
15
15
* ` 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
16
17
17
18
## 3.9.3
18
19
` 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
1167
1167
### Vector Add Metamethod
1168
1168
```
1169
1169
---@class Vector
1170
- ---@operation add(Vector):Vector
1170
+ ---@operator add(Vector):Vector
1171
1171
1172
1172
vA = Vector.new(1, 2, 3)
1173
1173
vB = Vector.new(10, 20, 30)
@@ -1178,7 +1178,7 @@ vC = vA + vB
1178
1178
### Unary Minus
1179
1179
```
1180
1180
---@class Passcode
1181
- ---@operation unm:integer
1181
+ ---@operator unm:integer
1182
1182
1183
1183
pA = Passcode.new(1234)
1184
1184
pB = -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
1167
1167
### Vector Add Metamethod
1168
1168
```
1169
1169
---@class Vector
1170
- ---@operation add(Vector):Vector
1170
+ ---@operator add(Vector):Vector
1171
1171
1172
1172
vA = Vector.new(1, 2, 3)
1173
1173
vB = Vector.new(10, 20, 30)
@@ -1178,7 +1178,7 @@ vC = vA + vB
1178
1178
### Unary Minus
1179
1179
```
1180
1180
---@class Passcode
1181
- ---@operation unm:integer
1181
+ ---@operator unm:integer
1182
1182
1183
1183
pA = Passcode.new(1234)
1184
1184
pB = -pA
@@ -1216,7 +1216,7 @@ setColor(colors.green)
1216
1216
LUADOC_DESC_SOURCE = -- TODO: need translate!
1217
1217
[=[
1218
1218
Provide 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.
1220
1220
1221
1221
## Syntax
1222
1222
`@source <path>`
@@ -1264,7 +1264,7 @@ end
1264
1264
LUADOC_DESC_PRIVATE = -- TODO: need translate!
1265
1265
[=[
1266
1266
Mark 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.
1268
1268
1269
1269
## Syntax
1270
1270
`@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
1167
1167
### Vector Add Metamethod
1168
1168
```
1169
1169
---@class Vector
1170
- ---@operation add(Vector):Vector
1170
+ ---@operator add(Vector):Vector
1171
1171
1172
1172
vA = Vector.new(1, 2, 3)
1173
1173
vB = Vector.new(10, 20, 30)
@@ -1178,7 +1178,7 @@ vC = vA + vB
1178
1178
### Unary Minus
1179
1179
```
1180
1180
---@class Passcode
1181
- ---@operation unm:integer
1181
+ ---@operator unm:integer
1182
1182
1183
1183
pA = Passcode.new(1234)
1184
1184
pB = -pA
@@ -1216,7 +1216,7 @@ setColor(colors.green)
1216
1216
LUADOC_DESC_SOURCE = -- TODO: need translate!
1217
1217
[=[
1218
1218
Provide 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.
1220
1220
1221
1221
## Syntax
1222
1222
`@source <path>`
@@ -1264,7 +1264,7 @@ end
1264
1264
LUADOC_DESC_PRIVATE = -- TODO: need translate!
1265
1265
[=[
1266
1266
Mark 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.
1268
1268
1269
1269
## Syntax
1270
1270
`@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
1161
1161
### Vector Add Metamethod
1162
1162
```
1163
1163
---@class Vector
1164
- ---@operation add(Vector):Vector
1164
+ ---@operator add(Vector):Vector
1165
1165
1166
1166
vA = Vector.new(1, 2, 3)
1167
1167
vB = Vector.new(10, 20, 30)
@@ -1172,7 +1172,7 @@ vC = vA + vB
1172
1172
### Unary Minus
1173
1173
```
1174
1174
---@class Passcode
1175
- ---@operation unm:integer
1175
+ ---@operator unm:integer
1176
1176
1177
1177
pA = Passcode.new(1234)
1178
1178
pB = -pA
@@ -1210,7 +1210,7 @@ setColor(colors.green)
1210
1210
LUADOC_DESC_SOURCE = -- TODO: need translate!
1211
1211
[=[
1212
1212
Provide 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.
1214
1214
1215
1215
## Syntax
1216
1216
`@source <path>`
@@ -1258,7 +1258,7 @@ end
1258
1258
LUADOC_DESC_PRIVATE = -- TODO: need translate!
1259
1259
[=[
1260
1260
Mark 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.
1262
1262
1263
1263
## Syntax
1264
1264
`@private`
You can’t perform that action at this time.
0 commit comments