Skip to content

Commit bd4b6c4

Browse files
authored
Merge branch 'LuaLS:master' into getmetatable-fix
2 parents 41f9777 + 759e8fb commit bd4b6c4

File tree

26 files changed

+2802
-41
lines changed

26 files changed

+2802
-41
lines changed

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
5+
* `FIX` cannot debug in Linux due to lua-debug expecting host process to have lua54 symbols available
6+
* `FIX` support hex color codes with `#` in `textDocument/documentColor`
7+
8+
## 3.14.0
9+
`2025-4-7`
10+
* `NEW` locale `es-419`, thanks [Felipe Lema](https://codeberg.org/FelipeLema)
11+
* `FIX` prevent unnecessary edits by LSP formatting when content did not change
12+
* `FIX` return no completions if completion is disabled
13+
* `FIX` optimized the performance of large literal tables (e.g., configuration tables)
514

615
## 3.13.9
716
`2025-3-13`

locale/en-us/script.lua

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 764 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)