diff options
author | Frank Seifferth <frankseifferth@posteo.net> | 2023-10-08 12:43:20 +0200 |
---|---|---|
committer | Frank Seifferth <frankseifferth@posteo.net> | 2023-10-08 12:43:20 +0200 |
commit | 3c0cf316a1aa6e3fd83e2bade098eced3819e1d9 (patch) | |
tree | d318d03535341ecffbdff06750b13ba0e065b9af | |
parent | 12ae1cc93c38f3bb6029377b37fd639549fa1643 (diff) | |
download | vis-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.
-rw-r--r-- | edconf.lua | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |