Closed frarees closed 1 year ago
I can override the definition through hi! ...
🤦 Closing.
Yeah exactly. It's just a syntax file so you can override it in the usual vim way. For example, to get coloured underline/double underline in vims that support it, I have a ~/.after/syntax/omnisharpdoc.vim
file containing the following:
if !has('nvim') && has('patch-9.0.0007')
" Give the active parameter a double underline colour
hi OmniSharpActiveParameter cterm=bold,italic,underdouble ctermul=109 gui=bold,italic,underdouble guisp=#83a598
elseif !has('nvim') && has('patch-8.2.0863')
" Give the active parameter a solid underline colour
hi OmniSharpActiveParameter cterm=bold,italic,underline ctermul=109 gui=bold,italic,underline guisp=#83a598
else
hi OmniSharpActiveParameter cterm=bold,italic,underline gui=bold,italic,underline guisp=#83a598
endif
I see a default style is defined here https://github.com/OmniSharp/omnisharp-vim/blob/0b643d4564207e85d19b94180e6ab2e89e7f9c50/syntax/omnisharpdoc.vim#L19
However I'm currently using a font that doesn't render very well on italics and bold, and would like to configure how it looks. Is this possible right now?