Code Monkey home page Code Monkey logo

Comments (4)

ademille avatar ademille commented on July 3, 2024 1

Hmm. That's interesting. I reverted back to an earlier commit of the plugin and it fixed it for me.
In .vimrc/init.vim
Plug 'sonph/onehalf', {'branch': '5bec08d', 'rtp': 'vim/'}

I did a little more digging and the latest commit broke the comments:
* 141c775 - (grafted, HEAD -> master, origin/master, origin/HEAD) Italicize vim comments (#101) (1 year, 1 month ago) <Jason Wang>
If you remove the "italic" portion, the comments highlight as expected again (which is basically the same thing as using the previous commit).
Change
call s:h("Comment", s:comment_fg, "", "italic")
to
call s:h("Comment", s:comment_fg, "", "")

from onehalf.

jerpint avatar jerpint commented on July 3, 2024

opening my editor using the exact same vimrc, just nvim instead of vim, fixes the problem

from onehalf.

ademille avatar ademille commented on July 3, 2024

I have the same problem. I've been using the color theme for quite a while and never had this problem, but I reinstalled all my plugins and I think it updated. I see the problem on nvim and vim. I'd love to know what happened. I ended up doing the following, which is obviously not ideal:
Commented out the following line in onehalfdark.vim:
call s:h("Comment", s:comment_fg, "", "italic")
and added
highlight Comment ctermfg=247 ctermbg=236 guifg=#919baa guibg=#282c34
to my init.vim
I stripped my init.vim/.vimrc down to just the plugin manager and this theme and it still had the problem.

from onehalf.

jerpint avatar jerpint commented on July 3, 2024

im not entirely sure what the problem was, but i also noticed i had a separate colorscheme plugin with the same theme name that might have been causing conflicts

from onehalf.

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.