neovim - 如何在 neovim 打开时删除“警告:无法设置语言环境类别...”?
问题描述
Warning: Failed to set locale category LC_NUMERIC to en_IT.
Warning: Failed to set locale category LC_TIME to en_IT.
Warning: Failed to set locale category LC_COLLATE to en_IT.
Warning: Failed to set locale category LC_MONETARY to en_IT.
Warning: Failed to set locale category LC_MESSAGES to en_IT.
Warning: Failed to set locale category LC_NUMERIC to en_IT.
Warning: Failed to set locale category LC_TIME to en_IT.
Warning: Failed to set locale category LC_COLLATE to en_IT.
Warning: Failed to set locale category LC_MONETARY to en_IT.
Warning: Failed to set locale category LC_MESSAGES to en_IT.
解决方案
如果要添加.bash_profile、.zprofile:
#Warning: Failed to set locale category LC_*** to en_UA.
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
然后以下命令也将显示结果输出:
locale
推荐阅读
- react-native - 隐藏 Radio 组件
- c++ - 文本背景突出显示在当前行中不可见
- javascript - 如何在Javascript中按天和月对日期数组进行排序
- ansible - 如何根据ansible中的多个过滤器获取列表差异?
- python - 在 CherryPy 中从 HTML 表单中读取输入
- arrays - Mongo 项目子对象,但道具较少
- graphdb - 如何在 GraphDB 中查看谁创建了存储库
- elasticsearch - 类似于 group_concat 的 Elasticsearch 聚合
- protocol-buffers - 通过 CLI 序列化和反序列化 protobufs?
- javascript - mobx-persist 不会将我的数据保存在本地存储中