estilo icon indicating copy to clipboard operation
estilo copied to clipboard

Conditional styles should be optional

Open 4513ECHO opened this issue 3 years ago • 0 comments

Currently, g:{colorscheme_name}_bold and g:{colorscheme_name}_italic are always defined. However, it is not good for me. I don't want to define global variables. This feature should be able to be configured by colorscheme authors.

I think, it is better than now:

colorschemes:
  - name: 'name'
    background: 'background'
    palette: 'palette'
    conditional_styles: true

By the way, conditional styles are not working currently. You have to use :execute such as:

execute 'hi SomeGroup gui=' .. Bold .. ',underlined cterm=' .. Bold .. ',underlined' 

instead of:

hi SomeGroup gui=Bold,underlined cterm=Bold,underlined

4513ECHO avatar Jan 20 '22 14:01 4513ECHO