Skip to content

Commit e1ac726

Browse files
authored
Merge branch 'master' into generic-from-type
2 parents c745121 + 09900e7 commit e1ac726

23 files changed

+2771
-36
lines changed

changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
55
* `NEW` Allow capture object types with backticks in generics
6+
* `NEW` locale `es-419`, thanks [Felipe Lema](https://codeberg.org/FelipeLema)
7+
* `FIX` prevent unnecessary edits by LSP formatting when content did not change
8+
* `FIX` return no completions if completion is disabled
9+
* `FIX` optimized the performance of large literal tables (e.g., configuration tables)
610

711
## 3.13.9
812
`2025-3-13`

locale/en-us/script.lua

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ DIAG_OVER_MAX_ARGS =
3636
'This function expects a maximum of {:d} argument(s) but instead it is receiving {:d}.'
3737
DIAG_MISS_ARGS =
3838
'This function requires {:d} argument(s) but instead it is receiving {:d}.'
39+
DIAG_UNNECESSARY_ASSERT =
40+
'Unnecessary assert: this expression is always truthy.'
3941
DIAG_OVER_MAX_VALUES =
4042
'Only has {} variables, but you set {} values.'
4143
DIAG_AMBIGUITY_1 =

locale/en-us/setting.lua

+2
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ config.diagnostics['missing-return-value'] =
406406
'Enable diagnostics for return statements without values although the containing function declares returns.'
407407
config.diagnostics['need-check-nil'] =
408408
'Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.'
409+
config.diagnostics['unnecessary-assert'] =
410+
'Enable diagnostics for redundant assertions on truthy values.'
409411
config.diagnostics['no-unknown'] =
410412
'Enable diagnostics for cases in which the type cannot be inferred.'
411413
config.diagnostics['not-yieldable'] =

locale/es-419/meta.lua

+764
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)