Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cheap-glitch/vim-v
- Owner: cheap-glitch
- License: isc
- Archived: true
- Created: 2019-12-16T14:41:28.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-30T14:56:02.000Z (over 2 years ago)
- Last Synced: 2024-08-04T01:06:20.404Z (5 months ago)
- Topics: syntax-highlighting, vim, vim-plug, vim-plugin, vim-syntax, vlang
- Language: Vim script
- Homepage:
- Size: 320 KB
- Stars: 25
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-v - vim-v - Quality syntax highlighting for the V programming language. (Other / Editor plugins)
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