a.vimThe contents are as follows
let a = 1 Echo a "output1
let a = 1Revise to
let a = 2, you need to run the command
:source a.vimThe modified result will be output
a.vimModifiedgvimCan be loaded automatically
How do I do this? Please give your expert advice.
You can consider triggering the event when saving with autocmd BufWritePost and automatically running the source command.