Neovim plugin for integrating KPOps
example using Lazy plugin manager
{
'disrupted/kpops.nvim',
cmd = 'KPOps',
ft = 'yaml.kpops',
dependencies = {
'nvim-treesitter/nvim-treesitter', -- main branch, old master branch is not supported
'gregorias/coop.nvim',
'stevearc/overseer.nvim', -- optional
},
---@module 'kpops.config'
---@type kpops.Opts
opts = {},
}Default Configuration (passed as opts)
{
kpops = {
generate_schema = true,
watch = true,
}
}- LSP (using YAML language server)
- schema validation
- autocompletion
- custom diagnostics handler
disable diagnostics for missing property, these could be defined in the defaults (for pipeline.yaml) or as environment variables (for config.yaml)
- automatic schema generation in the background for all KPOps user files (pipeline.yaml, defaults.yaml, config.yaml)
- refresh pipeline and defaults schema on changes to Python custom
kpops.componentspackage - CLI integration as Ex commands, e.g.
:KPOps generate - custom TreeSitter parser
- optional: overseer.nvim integration for running tasks