mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 23:02:35 +03:00
GH-337 Temporarily disable LANG
This commit is contained in:
parent
36b65cb443
commit
4aee2cbeb7
@ -130,12 +130,12 @@ static CFDataRef local_server_callback(CFMessagePortRef local, SInt32 msgid, CFD
|
||||
#endif
|
||||
|
||||
// Set $LANG to en_US.UTF-8 such that the copied text to the system clipboard is not garbled.
|
||||
NSMutableDictionary<NSString *, NSString *> *environment = _neoVimServerTask.environment.mutableCopy;
|
||||
if (environment == nil) {
|
||||
environment = NSMutableDictionary.new;
|
||||
}
|
||||
environment[@"LANG"] = @"en_US.UTF-8";
|
||||
_neoVimServerTask.environment = environment;
|
||||
// NSMutableDictionary<NSString *, NSString *> *environment = _neoVimServerTask.environment.mutableCopy;
|
||||
// if (environment == nil) {
|
||||
// environment = NSMutableDictionary.new;
|
||||
// }
|
||||
// environment[@"LANG"] = @"en_US.UTF-8";
|
||||
// _neoVimServerTask.environment = environment;
|
||||
|
||||
_neoVimServerTask.standardInput = inputPipe;
|
||||
_neoVimServerTask.currentDirectoryPath = NSHomeDirectory();
|
||||
|
Loading…
Reference in New Issue
Block a user