Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit dc9dae3

Browse files
committed
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.
1 parent 06e46d4 commit dc9dae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/util/env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const RUBY_ENVIRONMENT_VARIABLES = [
9292
'GEM_ROOT',
9393
'HOME',
9494
'RUBOCOP_OPTS',
95+
'LANG',
9596
];
9697

9798
export interface IEnvironment {

0 commit comments

Comments
 (0)