aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>2021-10-16 10:47:06 +0200
committerTai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>2021-10-16 10:47:06 +0200
commit3d9146ba2811923eca07a2271f235d256739076e (patch)
tree2b1292596c09f50207f891cd5e582ab67ef336c4
parentec49068a1a6ac9509946456cfb1753f79618cf30 (diff)
downloadvis-editorconfig-3d9146ba2811923eca07a2271f235d256739076e.tar.gz
Fix incorrect path variable check
Signed-off-by: Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>
-rw-r--r--edconf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/edconf.lua b/edconf.lua
index da3c32d..25edf6b 100644
--- a/edconf.lua
+++ b/edconf.lua
@@ -178,7 +178,7 @@ function ec_iter(p)
end
function ec_set_values(file)
- if path then
+ if file.path then
for name, value in ec_iter(file.path) do
if OPTIONS[name] then
OPTIONS[name](value, file)