From dc9dae3d423881f3744a708446c4dacb01d88118 Mon Sep 17 00:00:00 2001 From: Ruben Grimm Date: Wed, 19 Jun 2019 17:25:02 +0200 Subject: [PATCH] Pass LANG environment variable to language server. The LANG env variable is needed for rufo, so that it is able to parse ruby files with multibyte characters. Since it should be available and correct in most Mac and Linux environments we only need to pass the host value. --- client/src/util/env.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/util/env.ts b/client/src/util/env.ts index 272f5ebd0..f58c739d0 100644 --- a/client/src/util/env.ts +++ b/client/src/util/env.ts @@ -92,6 +92,7 @@ const RUBY_ENVIRONMENT_VARIABLES = [ 'GEM_ROOT', 'HOME', 'RUBOCOP_OPTS', + 'LANG', ]; export interface IEnvironment {