Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
`2025-3-13`
* `NEW` `unnecessary-assert` diagnostic warns when asserting values that are always truthy
* `NEW` locale `es-419`, thanks [Felipe Lema](https://codeberg.org/FelipeLema)
* `FIX` prevent unnecessary edits by LSP formatting when content did not change

## 3.13.9
`2025-3-13`
Expand Down
4 changes: 4 additions & 0 deletions script/core/formatting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ return function(uri, options)
return
end

if text == formattedText then
return
end

return {
{
start = state.ast.start,
Expand Down
Loading