diff --git a/package.json b/package.json index d04e66a..c8b8fb9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boatbomber/highlighter", - "version": "0.6.1", + "version": "0.6.2", "license": "MIT", "repository": { "type": "git", diff --git a/src/init.lua b/src/init.lua index 7bc2f0f..1944311 100644 --- a/src/init.lua +++ b/src/init.lua @@ -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 diff --git a/wally.toml b/wally.toml index 2917923..97b8bd7 100644 --- a/wally.toml +++ b/wally.toml @@ -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"