From 3c0cf316a1aa6e3fd83e2bade098eced3819e1d9 Mon Sep 17 00:00:00 2001 From: Frank Seifferth Date: Sun, 8 Oct 2023 12:43:20 +0200 Subject: Remove FILE_SAVE_POST hook This hook was intended to be used to re-parse editorconfig files after writing changes to disk. The idea was that, if the file being written to disk should be an editorconfig file, the changes to that file might be applied directly. Since this does not seem to work properly at the moment, removing this hook should at least make the code more straightforward. --- edconf.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'edconf.lua') diff --git a/edconf.lua b/edconf.lua index ad151b2..3d95146 100644 --- a/edconf.lua +++ b/edconf.lua @@ -200,8 +200,4 @@ vis.events.subscribe(vis.events.FILE_OPEN, function (file) ec_set_values(file) end) -vis.events.subscribe(vis.events.FILE_SAVE_POST, function (file) - ec_set_values(file) -end) - return M -- cgit