force vim to reload syntax code example
Example 1: vim reload file
:e (short for :edit)
use :e! or :edit! to discard changes and reload
Example 2: vim reload file
The command you want is :e (short for :edit). If you use :edit! it will discard local changes and reload.