Halbaroth / ocp-indent.nvim

Integration plugin for ocp-indent in Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Lua 91.5%Language:Makefile 8.5%