Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

C/C++ Preset

Adds support for C and C++ development.

What It Includes

  • LSP: clangd for code intelligence.
  • Tree-Sitter: Grammars for C and C++.
  • Dependencies: Imports the make preset for build system support.

Usage

imports = [
  inputs.np.nixvimModules.base
  inputs.np.nixvimModules.presets.cpp
];

Notes

Ensure clangd is available in your environment.