# c3.vim Vim support for the [C3 programming language](https://c3-lang.org/). This plugin was originally taken from [c3lang/editor-plugins](https://github.com/c3lang/editor-plugins). ## Features - Filetype detection (`*.c3`) - Syntax highlighting - Indentation (C-style) - Compiler integration (`:compiler c3c`) - Basic buffer-local settings (`shiftwidth`, `tabstop`, `commentstring`) ## Installation ### Using [lazy.nvim](https://github.com/folke/lazy.nvim) ```lua { "mitjafelicijan/c3.vim" } ``` ### Using [vim-plug](https://github.com/junegunn/vim-plug) ```vim Plug 'mitjafelicijan/c3.vim' ``` ### Manual Installation Clone this repository into your Vim/Neovim plugin directory: ```bash git clone https://github.com/mitjafelicijan/c3.vim ~/.vim/pack/plugins/start/c3.vim # OR for Neovim git clone https://github.com/mitjafelicijan/c3.vim ~/.local/share/nvim/site/pack/plugins/start/c3.vim ``` ## Usage The plugin automatically detects `.c3` files. To use the compiler integration: ```vim :compiler c3c :make ```