Question

I'd like to set two methods for folding

  1. :set foldmethod=indent and retain all its features
  2. hiding comments with

    :set foldmethod=marker

    :set foldmarker=/*,*/

I found out that this is not possible. Is it possible to achieve the desired folding and set this in .vimrc or to use some script or plugin for this?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top