Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
/ vim-v Public archive

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

License

Notifications You must be signed in to change notification settings

cheap-glitch/vim-v

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-v

A demo code sample.

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:

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

With vim-plug:

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:

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 by andreyrmg.

License

ISC