Skip to content

Commit

Permalink
Always return cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Nov 24, 2022
1 parent 894b696 commit e6c5e44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@boatbomber/highlighter",
"version": "0.6.1",
"version": "0.6.2",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function Highlighter.highlight(props: HighlightProps)

if LastData[textObject] == nil then
-- Got cleaned up while we were waiting
return
return cleanup
end

local numLines = #lines
Expand Down
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "boatbomber/highlighter"
description = "RichText highlighting Lua code with a pure Lua lexer"
version = "0.6.1"
version = "0.6.2"
license = "MIT"
authors = ["boatbomber (https://boatbomber.com)"]
registry = "https://github.com/upliftgames/wally-index"
Expand Down

0 comments on commit e6c5e44

Please sign in to comment.