aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/lang.c
Commit message (Collapse)AuthorAge
* Fix crash in lang_init() on macOS if lang_region = NULLbattlmonstr2018-08-01
| | | | | | | | | | This is a regression after PR #7704: mac: Set $LANG based on the system locale CFStringGetCStringPtr sometimes returns "lang_region" = NULL, in this case CFStringGetCString is used instead, which places output to "buf", but "buf" was not used by the code.
* Add missing PVS headers to new filesJames McCoy2018-03-11
|
* mac: Set $LANG based on the system localeJames McCoy2017-12-10
Unix's typical locale-related environment variables aren't always set appropriately on a Mac. Instead of relying on them, query the locale information using Mac specific APIs and then set $LANG appropriately for the rest of nvim. Closes #5873