Git Product home page Git Product logo

Comments (6)

LER0ever avatar LER0ever commented on May 21, 2024

你好,这个问题在最新的commit e3940f中已经修复,只需要在 .EverVim.vimrc 中设置如下

let g:evervim_color_theme="mopkai"
let g:evervim_airline_theme="mopkai"

以上两行的效果:
image

你可以把上方的mopkai 替换成任意vim color 的名称,airline也是一样

from evervim.

wjh756381193 avatar wjh756381193 commented on May 21, 2024

我通过你的上一个提交解决了主题不能加载的问题,现在出现了一个新的问题:
我在.EverVim.vimrc中修改了主题为我要的主题(mint)当每次使用vim打开文件的时候,提示:
lightline.vim: Could not load colorscheme mint.
但是我直接Enter进入文件,主题实际已经加载成功,如图

qq20170607-102010
qq20170607-102030

我的配置如下:

let g:evervim_color_theme="mint"
let g:evervim_airline_theme="mint"

注:只开启了这两行

from evervim.

LER0ever avatar LER0ever commented on May 21, 2024

因为lightline 并没有这个主题,lightline的主题和vim自身的colorscheme是分开的。Vim Color 总共有735个主题,而lightline的主题是他们自己内置的,完整的列表请查看 这里。当然有一部分的Vim Color会内置一份lightline的主题,具体的你可能要试了才知道。

from evervim.

wjh756381193 avatar wjh756381193 commented on May 21, 2024

Solved!
我试了一下,确实如你所讲!
那我有个猜想,是不是可以把VimColor中的主题直接拷贝到lightline的主题中使用呢?

from evervim.

wjh756381193 avatar wjh756381193 commented on May 21, 2024

刚才我试了一下直接拷贝系统主题到lightline的主题目录下,并修改配置文件,发现并没有解决上面的问题!那么,我该怎么使用系统的主题且不让它报出警告呢?

from evervim.

LER0ever avatar LER0ever commented on May 21, 2024

那我有个猜想,是不是可以把VimColor中的主题直接拷贝到lightline的主题中使用呢?

这个不行诶。。。lightline 和 VimColor 定义方式是不一样的,兼容的可能性不大。

如果你实在想用更多的状态栏主题的话,请在 .EverVim.vimrc 中加入 let g:evervim_use_airline = 1 来使用vim-airline而不是lightline。airline的主题支持会稍微好一些,不少Vim Color都单独为airline适配过(如默认的Dracula),而且airline本身自带了好多主题

from evervim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.