get syntax foldmethod to work with multiple windows of the same buffer