Vim syntax based folding with php

后端 未结 3 1984
半阙折子戏
半阙折子戏 2021-01-02 05:27

I have downloaded php.vim file, which contains PHP-based syntax information. It should be able to provide syntax based folding, but I can\'t make it work for some reason.

3条回答
  •  无人及你
    2021-01-02 05:42

    Apparently my VIM didn't run :syntax enable.

    Doing :syntax enable fixed the problem, but I also added :syntax on to .vimrc

提交回复
热议问题