/kpops.nvim

Neovim plugin for integrating KPOps

Primary LanguageLuaMIT LicenseMIT

kpops.nvim

Neovim plugin for integrating KPOps

demo

Installation

example using Lazy plugin manager

{
    'disrupted/kpops.nvim',
    ft = 'yaml.kpops',
    opts = {},
    dependencies = { 'neovim/nvim-lspconfig' }
}

Default Configuration (passed as opts)

{
    kpops = {
        generate_schema = true,
    }
}

Features

  • 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 for all KPOps user files (pipeline.yaml, defaults.yaml, config.yaml)
  • CLI integration as Ex commands, e.g. :KPOps generate