简体   繁体   English

Neovim颜色不“正常工作”

[英]neovim colors not “just working”

I have some simple (default) syntax highlighting, and other colors, in my regular vim. 我的常规vim中有一些简单的(默认)语法突出显示和其他颜色。 I'd like to try out neovim, so I did the 我想试用neovim,所以我做了

cd && ln -s .vimrc .nvimrc && ln -s .vim .nvim

I'm currently on ubuntu, and installed neovim from the ppa at: https://launchpad.net/~neovim-ppa 我目前在ubuntu上,并通过以下网址从ppa安装了neovim: https ://launchpad.net/~neovim-ppa

(I can paste the contents of nvim -v, if needed) (如果需要,我可以粘贴nvim -v的内容)

Here is the old vim colors - note the line numbers, and the green of minibufexplorer: 这是旧的vim颜色-注意行号和minibufexplorer的绿色:

原始Vim颜色

And here is what it looks like with nvim. 这就是nvim的样子。 It is doing some syntax highlighting, but not nearly what the original vim did. 它正在突出显示某些语法,但与原始vim所做的几乎不一样。

Neovim颜色

I was hoping this would be a simple drop-in replacement, but doesn't appear that way currently. 我希望这将是一个简单的即插即用替代品,但目前并未出现这种情况。 I might certainly have something misconfigured in my system. 我的系统中肯定有某些配置错误。

I also tried 我也试过

export VIMRUNTIME=/usr/share/vim/vim74

to no avail. 无济于事。 The entirety of my .vimrc is: 我的整个.vimrc是:

filetype plugin on
filetype indent on
syntax on

Any help would be greatly appreciated!!! 任何帮助将不胜感激!!!

Check your TERM variable. 检查您的TERM变量。 It needs to be set to something like xterm-256color which says that the terminal supports 256 colors. 需要将其设置为xterm-256color类的东西,它表示终端支持256种颜色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM