Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cheap-glitch/vim-v

🎨 Quality syntax highlighting and support for the V programming language.
https://github.com/cheap-glitch/vim-v

syntax-highlighting vim vim-plug vim-plugin vim-syntax vlang

Last synced: about 1 month ago
JSON representation

🎨 Quality syntax highlighting and support for the V programming language.

Awesome Lists containing this project

README

        

vim-v

![A demo code sample.](screenshot.png)



colorscheme: Iceberg
 | 
font: Hack

## Features

* Full syntax highlighting
* Auto-indentation and syntactic folding
* Optional highlighting of some syntax errors

## Installation

The recommended way of installing plugins is through a plugin manager.

With [dein.vim](https://github.com/Shougo/dein.vim):

```vim
dein#add('cheap-glitch/vim-v')
```

With [vim-plug](https://github.com/junegunn/vim-plug):

```vim
Plug 'cheap-glitch/vim-v'
```

## Usage

### Display warnings for invalid C-like syntax

The syntax of V is very similar to that of C and C-like languages, but there are
nonetheless some significant differences. To help you avoid using invalid
C-style syntax out of habit, you can activate the option to highlight some
syntax errors by adding this line anywhere in your `.vimrc` or `init.vim`:

```vim
let g:v_warnings = 1
```

## Contributing

Contributions are welcomed! Please open an issue before submitting substantial changes.

## Acknowledgments

The first version of this plugin was based on [v.vim](https://github.com/andreyrmg/v.vim)
by [andreyrmg](https://github.com/andreyrmg).

## License

ISC