Skip to content

Neovim Integration

Zonvie exposes several Neovim-side variables and RPC notifications for runtime customization.

Set automatically on startup. Contains the RPC channel ID for communication with Zonvie.

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.

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.

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.