3 Commits

Author SHA1 Message Date
f93360d854 Actually run compdb asynchronously
Turns out vim.schedule() only defers calling the function until main
event loop has some free cycles but can still block the UI, just a bit
later. This patch replaces the external command invoked in the callback
passed into vim.schedule() with vim.fn.jobstart() and moves the other
code into job callbacks.
2024-03-14 21:17:36 +00:00
f49f56d043 Ignore warnings from compdb in :BuildDir 2024-03-13 20:15:41 +00:00
0656de97fa Implement :BuildDir and :Build commands in Lua
Ported over from and improved for best integration with Neovim ecosystem
https://code.infektor.net/config/vim/src/branch/master/autoload/build.vim
2024-03-09 16:42:12 +00:00