Bug of VIM PIV plug-in, syntax highlighting occasionally lost when editing large PHP files

巴扎黑
Release: 2016-11-08 09:30:54
Original
1209 people have browsed it

When viewing PHP scripts with a large number of lines, such as G jumping to the bottom of the file, syntax highlighting is often lost. According to Google, this should be caused by a conflict with the auto-save function. For detailed discussion, see:



Solution , edit .vim/bundle/PIV/ftplugin/php.vim, delete the following lines:

58 call s:InitVariable("g:load_doxygen_syntax", 1)
59 call s:InitVariable("g:syntax_extra_php", ' doxygen')
60 call s:InitVariable("g:syntax_extra_inc", 'doxygen')

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template