aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Van der Jeugt <felix.vanderjeugt@gmail.com>2018-10-08 14:26:04 +0200
committerFelix Van der Jeugt <felix.vanderjeugt@gmail.com>2018-10-08 14:26:04 +0200
commit16ab32f4b7e5f6345ea4cc9713f39c85ee444d2d (patch)
tree0a7acc609b85b9c17e49d4867f7ceaa85fb9eefc
parent9a574c35d30a974c492d07a558fbe0cb91395282 (diff)
downloadvis-editorconfig-16ab32f4b7e5f6345ea4cc9713f39c85ee444d2d.tar.gz
use editorconfig_core constant for comparison
-rw-r--r--editorconfig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/editorconfig.lua b/editorconfig.lua
index 1370926..67389b7 100644
--- a/editorconfig.lua
+++ b/editorconfig.lua
@@ -16,7 +16,7 @@ end
OPTIONS = {
indent_style = function (value)
- vis_set("expandtab", (value == "space"))
+ vis_set("expandtab", (value == ec.T.INDENT_STYLE_SPACE))
end,
indent_size = function (value)