Skip to content

Halbaroth/ocp-indent.nvim

Repository files navigation

ocp-indent.nvim

Static Badge

Integration plugin for ocp-indent.

Features

  • You can choose tree way to reindent your code:
    • Automatically indent while typing.
    • Reindent selected zone.
    • Reindent on save.
  • (TODO) Detect ocp-indent configuration files.

Installation & Usage

Install using your favorite package manager. For instance using Lazy

{
  'Halbaroth/ocp-indent.nvim',
  config = true
}

For custom configuration, use

{
  'Halbaroth/ocp-indent.nvim',
  opts = { ... },
  config = true
}

Keymaps

By default, the plugin doesn't register any shortcuts. Use the option bindings to set up default shortcuts.

Advanced usage (API)

(TODO)

About

Integration plugin for ocp-indent in Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published