Fix error with previous commit

Error was introduced with PR:

https://github.com/franko/lite-xl/pull/190
This commit is contained in:
Francesco Abbate 2021-05-17 10:16:55 +02:00
parent 6e08c3321c
commit 92322986b8
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ local function update_cache(doc)
end end
end end
function Doc:on_text_change(...) function Doc.on_text_change(...)
if current_on_text_change then if current_on_text_change then
current_on_text_change(...) current_on_text_change(...)
end end