c3.vim
Vim support for the C3 programming language.
This plugin was originally taken from 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
{ "mitjafelicijan/c3.vim" }
Using vim-plug
Plug 'mitjafelicijan/c3.vim'
Manual Installation
Clone this repository into your Vim/Neovim plugin directory:
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:
:compiler c3c
:make