-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respecting the colour scheme #98
Comments
So I've being searching for a proper plugin to highlight my 3.7+ Python code with type annotations, f-strings and other goodness. Came across this project, which sounds pretty nice. Sadly, a complete disregard to my color scheme is a huge deal breaker for me. From around 8 colors my color scheme defines, it seems like only 2? were left as is. The rest is now a bit over the top to my taste. I might try putting together a custom color schema but it seems like a lot of work I'm not willing to put in at the moment. |
FWIW, I've been using nvim-treesitter, which does rather sophisticated highlighting, but uses the configured theme. If keeping a consistent theme is important, that might be the way to go. |
Oh interesting, I'll give it a try (and thanks for mentioning it)! |
I defined some highlight links to my colorscheme and put this in an autocommand as suggested in the readme, for anyone interested: "use default fg, just add style
highlight! semshiImported gui=bold,italic
highlight! semshiGlobal gui=bold
" link to Treesitter
highlight! link semshiParameter @parameter
highlight! link semshiParameterUnused @parameter " same color, just add style
highlight! semshiParameterUnused gui=undercurl. " lsp also provide this
highlight! link semshiAttribute @attribute
highlight! link semshiBuiltin @function.builtin
highlight! link semshiUnresolved @text.warning
|
semshi
introduces too many extravagant colour for me, and I want it to use the theme I've configured instead of its own.The README mentions
g:semshi#simplify_markup
. I've triedBut none of these work -- I still get semshi's builtin theme rather than my usual vim theme.
Any hints on how to actually use this settings? Or is that not the right one?
The text was updated successfully, but these errors were encountered: