vim icon indicating copy to clipboard operation
vim copied to clipboard

Make SpellBad less intrusive?

Open volo1st opened this issue 5 years ago • 3 comments

Thanks for the amazing colour palette, really liked the colours and I am using it almost everywhere I can apart from Vim because: The current way it highlights SpellBad is so intrusive that it makes you hard to concentrate on an ordinary code snippet as all the SpellBad matches are shown in Red with Underline. Just a few examples: With spell turned on: Screenshot from 2019-04-28 19-41-13 Screenshot from 2019-04-28 19-47-53

With nospell set: Screenshot from 2019-04-28 19-48-52 Screenshot from 2019-04-28 19-48-34

Is it possible to make less intrusive like only set underline/undercurl for misspelt words instead of default to red text? Or at least provide an option to turn it on and off?

volo1st avatar Apr 28 '19 09:04 volo1st

I was wondering the same and this is the solution I found: add the following lines somewhere to your Vim configuration:

augroup nord-theme-overrides
	autocmd!
	autocmd ColorScheme nord highlight clear SpellBad
augroup END

For more information see :h hl-SpellBad (scroll down to :hi[ghlight] clear {group-name}) and :h hl-SpellBad. Of course instead of clearing the highlighting you could also apply your own highlighting instead.

HiPhish avatar Sep 14 '19 14:09 HiPhish

Hi @vincentzhezhang :wave:, thanks for your contribution :+1: Sorry for the really late reply, must have missed this issue in the large amount of daily notifications. I guess changing the style is indeed an improvement since this might also be mistaken as possible syntax error when using linter or compiler/evaluation plugins.

@HiPhish This is the recommended way to customize the theme for individual styles without breaking other themes :smile: :arrow_right: The documentation also describes this technique in more detail so other users coming to this issue here might also like to take a look over there.

arcticicestudio avatar Sep 14 '19 16:09 arcticicestudio

Thank you for your patience! 🙏🏼 It‘s been a while since I had free time to focus more on Nord, and my open source projects in general, and invest time in this issue due to work-life balance.

I recently published the first “Northern Post — The state and roadmap of Nord“ announcement which includes all details about the plans and future of the Nord project, including the goal of catching up with the backlog. This issue is part of the backlog and therefore I want to triage and process it to get one step closer to a “clean state“. Read the announcement about reaching the “clean“ contribution triage state in Nord‘s discussions for more details about the goal.

Therefore it has been added to the queue in the central and single-source-of-truth project board that is also described in more detail in the roadmap announcement.

svengreb avatar May 29 '23 12:05 svengreb