aboutsummaryrefslogtreecommitdiffstats
path: root/edconf.lua
diff options
context:
space:
mode:
authorFrank Seifferth <frankseifferth@posteo.net>2023-10-08 12:43:20 +0200
committerFrank Seifferth <frankseifferth@posteo.net>2023-10-08 12:43:20 +0200
commit3c0cf316a1aa6e3fd83e2bade098eced3819e1d9 (patch)
treed318d03535341ecffbdff06750b13ba0e065b9af /edconf.lua
parent12ae1cc93c38f3bb6029377b37fd639549fa1643 (diff)
downloadvis-editorconfig-3c0cf316a1aa6e3fd83e2bade098eced3819e1d9.tar.gz
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.
Diffstat (limited to 'edconf.lua')
-rw-r--r--edconf.lua4
1 files changed, 0 insertions, 4 deletions
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