Especially for :ClearSwapList, one may want to put this into
let b:undo_ftplugin .= '|ClearSwapList'
To enable appending other such commands, the command must support chaining, and because it doesn't take arguments, this is trivially done through -bar.
Especially for :ClearSwapList, one may want to put this into
To enable appending other such commands, the command must support chaining, and because it doesn't take arguments, this is trivially done through
-bar
.