diff options
author | Frank Seifferth <frankseifferth@posteo.net> | 2019-10-09 19:06:40 +0100 |
---|---|---|
committer | Frank Seifferth <frankseifferth@posteo.net> | 2021-05-11 19:19:05 +0200 |
commit | 1e5306b982cb6fb51799e9652dff7067475d3eb3 (patch) | |
tree | a2a3c5fe8af4d3c0f5dff76498919066380b153d | |
parent | be8ebb90b4c8ecf021f168e995b073a1f624e4cc (diff) | |
download | vis-editorconfig-1e5306b982cb6fb51799e9652dff7067475d3eb3.tar.gz |
Bugfix for call to ec_set_values in FILE_SAVE_POST hook
Editorconfig tends to complain that the path should be a full
path. Adjusting the call to the one specified for the FILE_OPEN
hook solves that for me. I'm not sure if this also occurs with
editorconfig-core-lua < 0.3.0, though.
-rw-r--r-- | edconf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,5 +68,5 @@ vis.events.subscribe(vis.events.FILE_OPEN, function (file) end) vis.events.subscribe(vis.events.FILE_SAVE_POST, function (file, path) - ec_set_values(path) + ec_set_values(file.path) end) |