aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/_snippet_grammar.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-10-11 22:16:25 +0200
committerbfredl <bjorn.linse@gmail.com>2023-10-15 14:17:50 +0200
commit3a44db510b1661eb92689e328d5191acfcb95433 (patch)
tree36026ecf693695d8b912093f727b4622ae1fffe3 /runtime/lua/vim/lsp/_snippet_grammar.lua
parent0818d655288ebd70de728b13fabcfd01a0e2e2ec (diff)
downloadrneovim-3a44db510b1661eb92689e328d5191acfcb95433.tar.gz
rneovim-3a44db510b1661eb92689e328d5191acfcb95433.tar.bz2
rneovim-3a44db510b1661eb92689e328d5191acfcb95433.zip
refactor(lang): reduce scope of HAVE_WORKING_LIBINTL #ifdefs
A lot of code inside HAVE_WORKING_LIBINTL doesn't really depend on a "working libintl". For instance ex_language is also used for ":lang collate" and ":lang time". Also ":lang C" should not fail just because translations aren't available (it just means use the default text). References: https://github.com/neovim/neovim/pull/1 2d00ead2e57653b771354a564f9a760c2ce0d18e separate ifdefs for locale and gettext got merged together. https://github.com/neovim/neovim/commit/8253e29971c54310434ee93d987a99994769d717 Unmotivated switcharoo of get_mess_env() logic. If available, get_locale_val(LC_MESSAGES) is the correct implementation.
Diffstat (limited to 'runtime/lua/vim/lsp/_snippet_grammar.lua')
0 files changed, 0 insertions, 0 deletions