Skip to content

42Formatter.md

Bonsthie edited this page Dec 30, 2024 · 1 revision

C Formatter Configuration Guide

This guide explains how to enable the C Formatter plugin for Neovim.


1. Enabling the Plugin

You can enable the plugin by creating a configuration file in the lua/custom/ folder.

Steps to Enable

  1. Navigate to lua/custom/.
  2. Create a file named 42formatter.lua.
  3. Set the necessary options to enable the plugin.

Example Configuration

local M = {}

function M.modify_opts(opts)
    opts.enable = true -- Enable the plugin
    return opts
end

return M

2. Usage

You can now format your code using the :CFormater command

Clone this wiki locally