mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 23:36:08 +03:00
Do not set ${LANG} explicitly to en_US.UTF-8
- paste works without it since we're using the paste API call
This commit is contained in:
parent
c9ba804ca4
commit
c7a333f831
@ -220,11 +220,6 @@ static void start_nvim(void *arg __unused) {
|
|||||||
backspace = cstr_as_string("<BS>");
|
backspace = cstr_as_string("<BS>");
|
||||||
|
|
||||||
setenv_vimruntime();
|
setenv_vimruntime();
|
||||||
|
|
||||||
// Set $LANG to en_US.UTF-8 such that the copied text to the system clipboard
|
|
||||||
// is not garbled.
|
|
||||||
setenv("LANG", "en_US.UTF-8", true);
|
|
||||||
|
|
||||||
nvim_main(nvim_argc, nvim_argv);
|
nvim_main(nvim_argc, nvim_argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user