How to color code folds created via code? 关注
i have a custom editor and i want to added some code folds via
the question now is, how can i color these folds when they are collapsed? Right now they are colored like normal text.
hi. The fold region colors are configured globally in settings|editor|Color scheme. THere's no way currently to color them individually.
i have created a fold reagion, but this fold region is not colored in any way. I went into the settings and chose really bright colors, but its still not working:
If this helps, i added fold regions to the "DiffWindow" like this:
Do other folded regions in other files look blindingly red now?
I found the solution:
get the colorscheme, change it and then reapply it: