如何在Neovim打开时删除“警告:无法设置语言环境类别……”?

问题描述 投票:0回答:1
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.
neovim
1个回答
1
投票

我建议使用空配置运行Neovim:

vim -u NONE

然后查看此行为是否仍然存在。如果是这样,则您的Neovim安装或文件系统可能出了问题。

如果问题消失,请注释掉所有插件和autocmds,然后逐一重新启用它们。冲洗并重复直到再次遇到问题。然后,您将找到导致设置的设置或插件。

© www.soinside.com 2019 - 2024. All rights reserved.