Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

disrupted/kpops.nvim

Repository files navigation

kpops.nvim

Neovim plugin for integrating KPOps

demo

Installation

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,
    }
}

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 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.components package
  • CLI integration as Ex commands, e.g. :KPOps generate
  • custom TreeSitter parser
  • optional: overseer.nvim integration for running tasks

About

Neovim plugin for integrating KPOps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •