Skip to main content

Neovim setup for Compact

compact.vim is a community-driven plugin that provides Compact language support for Neovim.

Features

The plugin provides the following capabilities for working with Compact source files:

  • Syntax highlighting (regex-based and tree-sitter)
  • Smart indentation
  • Code folding
  • Text objects (requires nvim-treesitter-textobjects)
  • Import navigation via gf
  • Compiler integration via :make
  • Local scoping (variable references scoped per circuit/block)

Syntax highlighting

Installation

Install with lazy.nvim:

{ "1NickPappas/compact.vim" }