From a17fe46c05716640381bbfcff8f238684a94d98f Mon Sep 17 00:00:00 2001 From: Willie Lawrence Date: Sun, 10 May 2020 11:26:44 -0300 Subject: [PATCH] Fixing trimwhitespace plugin bug --- data/plugins/trimwhitespace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/plugins/trimwhitespace.lua b/data/plugins/trimwhitespace.lua index 21759ddc..ace1b0f8 100644 --- a/data/plugins/trimwhitespace.lua +++ b/data/plugins/trimwhitespace.lua @@ -17,7 +17,7 @@ end command.add("core.docview", { ["trim-whitespace:trim-trailing-whitespace"] = function() - trim_trailing_whitespace(self.active_view.doc) + trim_trailing_whitespace(core.active_view.doc) end, })