Neovim Integration
Zonvie exposes several Neovim-side variables and RPC notifications for runtime customization.
vim.g.zonvie_channel
Section titled “vim.g.zonvie_channel”Set automatically on startup. Contains the RPC channel ID for communication with Zonvie.
vim.g.zonvie_glow (Neon Glow Effect)
Section titled “vim.g.zonvie_glow (Neon Glow Effect)”Configure a bloom/glow post-processing effect for specific highlight groups:
vim.g.zonvie_glow = { groups = { "Keyword", "String", "Function" }, -- or "all" for every cell radius = 6, -- blur radius in pixels (2-16) intensity = 0.8, -- glow brightness (0.0-1.0)}Zonvie reads this variable on startup (with automatic retry for lazy plugin initialization) and applies a Dual Kawase bloom shader to matching highlight groups.
zonvie_option_as_meta (RPC notification)
Section titled “zonvie_option_as_meta (RPC notification)”Dynamically change the Option-as-Meta behavior at runtime, equivalent to
Neovim-Qt’s macmeta option:
vim.rpcnotify(vim.g.zonvie_channel, "zonvie_option_as_meta", "both")-- Values: "both", "none", "only_left", "only_right"This can also be set statically via the [input] option_as_meta config key.
zonvie_ime_off (RPC notification)
Section titled “zonvie_ime_off (RPC notification)”Programmatically disable the IME input method:
vim.rpcnotify(vim.g.zonvie_channel, "zonvie_ime_off")Useful for automatically switching off IME when entering normal mode via autocommands.