From 92322986b8e938a9d76c5420600db9e867871dec Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Mon, 17 May 2021 10:16:55 +0200 Subject: [PATCH] Fix error with previous commit Error was introduced with PR: https://github.com/franko/lite-xl/pull/190 --- data/plugins/detectindent.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/detectindent.lua b/data/plugins/detectindent.lua index 079a92e7..63fe8a52 100644 --- a/data/plugins/detectindent.lua +++ b/data/plugins/detectindent.lua @@ -117,7 +117,7 @@ local function update_cache(doc) end end -function Doc:on_text_change(...) +function Doc.on_text_change(...) if current_on_text_change then current_on_text_change(...) end