Giter Club home page Giter Club logo

Comments (4)

octref avatar octref commented on August 17, 2024 11

Ended up increasing iTerm 2 minimum contrast:

image

Which increases contrast to make comments more legible.

image

from vim.

octref avatar octref commented on August 17, 2024 6

I put this as my last sentence...

Not against the idea that comment should be in the same hue as bg, but the contrast needs to be higher.

to not disturb code flow

I respectfully disagree. Well-written comments either improve your reading/grasping of code much faster, and sometimes they are essential to understanding the intent of code.

It's actually pretty close to what I want. I just hope it's a bit lighter/whiter, so it's easier on the eyes.

from vim.

arcticicestudio avatar arcticicestudio commented on August 17, 2024 3

👍 Thanks for your proposal, but this change is absolutely against the design idea of Nord.
The low contrast has been selected specifically to not disturb code flow and keep the focus of the developer on the code. Using a color like e.g. nord7 for it would completely mix the separation between the code and comments. nord7 is used for classes/types/interfaces/documentation tags and you would be unable to differ if it is part of the running code or just a comment.

It is totally fine that you not agree to all highlighting color assignments, everyone has different preferences.
If you'd like to stay with nord7 (ctermfg=14, guifg=14) its totally fine and you don't have to change it in the theme file itself, which would be overriden each time you update your plugins.
Just paste this snippet into your ~/.vimrc somewhere before you set the colorscheme via colorscheme nord and than add your custom syntax highlighting rules you want to override for the Nord Vim theme:

augroup nord-overrides
  autocmd!
  autocmd ColorScheme nord highlight Comment ctermfg=14
augroup END

from vim.

arcticicestudio avatar arcticicestudio commented on August 17, 2024

This is a nice alternative solution which is supported by many popular terminal emulators.
I'll add it to the project wiki 😉

from vim.

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.