README.md raw
 1# c3.vim
 2
 3Vim support for the [C3 programming language](https://c3-lang.org/).
 4
 5This plugin was originally taken from [c3lang/editor-plugins](https://github.com/c3lang/editor-plugins).
 6
 7## Features
 8
 9- Filetype detection (`*.c3`)
10- Syntax highlighting
11- Indentation (C-style)
12- Compiler integration (`:compiler c3c`)
13- Basic buffer-local settings (`shiftwidth`, `tabstop`, `commentstring`)
14
15## Installation
16
17### Using [lazy.nvim](https://github.com/folke/lazy.nvim)
18
19```lua
20{ "mitjafelicijan/c3.vim" }
21```
22
23### Using [vim-plug](https://github.com/junegunn/vim-plug)
24
25```vim
26Plug 'mitjafelicijan/c3.vim'
27```
28
29### Manual Installation
30
31Clone this repository into your Vim/Neovim plugin directory:
32
33```bash
34git clone https://github.com/mitjafelicijan/c3.vim ~/.vim/pack/plugins/start/c3.vim
35# OR for Neovim
36git clone https://github.com/mitjafelicijan/c3.vim ~/.local/share/nvim/site/pack/plugins/start/c3.vim
37```
38
39## Usage
40
41The plugin automatically detects `.c3` files.
42
43To use the compiler integration:
44```vim
45:compiler c3c
46:make
47```