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

Pass LANG environment variable to language server #494

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Pass LANG environment variable to language server #494

merged 1 commit into from
Jun 19, 2019

Conversation

pmk1c
Copy link
Contributor

@pmk1c pmk1c commented Jun 19, 2019

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.

I tested it and this resolves #493 for me.

  • The build passes
  • TSLint is mostly happy
  • Prettier has been run

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.
@pmk1c pmk1c changed the title Pass LANG environment variable to language server. Pass LANG environment variable to language server Jun 19, 2019
@wingrunr21
Copy link
Collaborator

This should be fine. When CI passes I'll merge it

@wingrunr21 wingrunr21 merged commit 5a5b01d into rubyide:master Jun 19, 2019
@pmk1c pmk1c deleted the pass-lang-env-to-language-server branch August 21, 2019 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LANG env variable needed for proper Rufo formatting
2 participants