Vim toggles foldmethod to manual randomly

by zanona secret
macOS ◆ xterm-256color ◆ bash 270 views

When switching between two buffers, one with html where foldmethod was supposed to be set to expr and another less file where foldmethod was supposed to be set to syntax and navigating between buffers with bn and bp the fold method configuration is lost somehow and it’s needed to manually declare it once again.

More details on StackExchange Vim