I'm new to vim and getting the hang of the configuration. I've gone through a couple of youtube videos giving a tutorial of setting it up with lazy.nvim. Now I am following ThePrimeagen's config, and UndoTree doesn't work.
The plugin is loaded and my config is properly sourced, but when I run run :UndoTreeToggle, I get this lovely error:
(E5108: Error executing lua: function undotree#UndotreeToggle[11]..<SNR>37_new[2]..41, line 6: Vim(echoerr):"diff" is not executable. stack traceback: [C]: at 0x7ff77ae89570)
I am running windows (currenty in the process of backing up my personal data so I can try out Linux without feeling too disconnected from my daily computer user). I did a little bit of google searching and checked the issues on github, unfortunately I couldn't find anything related to my problem.
Any help would be much appreciated.
I took a quick look at the plugin and it looks like it depends on the diff command line utility. I dont think it comes installed with Microsoft Windows, but if you manually installed it, id open a new terminal and try running the diff utility manually to see if its on the executable path.
But if you want to try installing it, I think it comes with Git bash for windows.