summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-05-15 09:37:20 -0300
committerDiego Martínez <kaeza@users.noreply.github.com>2017-05-15 09:37:20 -0300
commit289776c6dceac38eb9ff04072e67921f9a22e633 (patch)
tree705100c785dbbfbdc457c1eadb04e7e7a6c08f25
parent17eb88812a439fb9de82ab064e5b263109681c68 (diff)
Take `LANGUAGE` env var as-is.
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index d203617..b91b118 100644
--- a/init.lua
+++ b/init.lua
@@ -114,7 +114,7 @@ function intllib.get_detected_languages()
v = os.getenv("LANGUAGE")
if v then
for item in split(v, ":") do
- addlang(item)
+ langs[#langs+1] = item
end
end