Js code in vim cannot be folded

  question, vim

My code snippet is shown in the following figure

图片描述

My vim profile is as follows:
![图片描述][3]

This time I presszaThere is no way to fold the code.

However, python functions can be folded normally in python files.

图片描述

Ask the great god for an answer.

Yes./syntax/javascript.vimThat’s it.
Yoursset foldmethod?What is the output?