How do I prohibit calling python’s tag completion when editing php files?

  question, vim

When I was editing a php file, I pressed
ctrl+x ctrl+]
It was found that the system called python-related functions.



  • See: …

  • You need to addfiletype plugin onTurn on document format identification

  • In addition, the file format identification is based on your file extension

  • So, if your file extension is.pyThe hint must be Python’s syntax

  • Maybe you opened one.pyThe extension of the file, but in it is written.php, the plug-in will also recognize Python completion