OMP neovim server bridge

This commit is contained in:
Daniel Winkler 2026-08-07 15:00:50 +10:00
commit c7543c978a
3 changed files with 248 additions and 0 deletions

8
plugin/31_nvim_omp.lua Normal file
View file

@ -0,0 +1,8 @@
-- omp bridge entrypoint: start the RPC socket as early as possible so the omp
-- harness can read this instance's buffers on demand (see lua/nvim_omp/init.lua
-- and .omp/tools/nvim_buffers.mjs). Safe to fail silently — the socket is a
-- convenience, not a dependency of the editor.
local ok, nvim_omp = pcall(require, "nvim_omp")
if ok then
nvim_omp.start()
end