5 Commits

Author SHA1 Message Date
776fb1f204 Change :Build{Dir} commands to global from buffer 2024-04-02 16:22:04 +01:00
831ac41440 Always make :Build/:BuildDir available
Don't attached this functionality to only c/cpp filetypes.
2024-03-18 20:02:54 +00:00
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