To check if the current OS is Linux autoload/recover.vim executes system('uname') and checks its result against 'linux'. On Windows this leads to flickering on the task bar, because vimrun.exe is called and Windows creates a task bar button for it.
We can prevent the flickering by checking for has("unix") first.
To check if the current OS is Linux autoload/recover.vim executes
system('uname')
and checks its result against'linux'
. On Windows this leads to flickering on the task bar, because vimrun.exe is called and Windows creates a task bar button for it. We can prevent the flickering by checking forhas("unix")
first.