vim icon indicating copy to clipboard operation
vim copied to clipboard

Add support for config italics and bold.

Open brunoferromega opened this issue 1 year ago • 2 comments

Could you add support for edit some text/syntax styles into embark-theme ? I guess something like that it's a good solution ->

Screenshot from 2024-06-28 21-50-19

e.g. : link for theme above -> https://github.com/mellow-theme/mellow.nvim

brunoferromega avatar Jun 29 '24 00:06 brunoferromega

Out of curiosity what things are you trying to toggle bold/italic on or off for?

skbolton avatar Jul 01 '24 08:07 skbolton

Well, I would like to functions and boolenas in italic - keywords and macros in italic and bold, because in general I think it looks good when we have syntax details in outstanding.

brunoferromega avatar Jul 01 '24 14:07 brunoferromega

I would like to avoid too many configuration options. Especially since it is quite easy to do this sort of customizing with vimscript/lua. After setting the embark theme you can always supply styling overrides. Example using lua.

vim.cmd('colorscheme embark')
vim.cmd('hi @function gui=italic')
vim.cmd('hi @keyword gui=bold')

Have you tried this approach?

skbolton avatar Jul 06 '24 06:07 skbolton

Nice, I didn't know that. I'll try, thank you for the attention.

brunoferromega avatar Jul 09 '24 00:07 brunoferromega

Sounds good I'll close this for now.

skbolton avatar Jul 09 '24 02:07 skbolton