Home

Awesome

V syntax highlighting for Kate

Syntax highlighting for the V language.

Install

NOTE

The xml contents of this repository is now upstreamed to KDE/syntax-highlighting. That means newer versions of KDE will ship with V syntax support.

Linux/Unix

Add v.xml symlink (or copy file) to: $HOME/.local/share/katepart5/syntax

Windows

Copy to %USERPROFILE%/AppData/Local/org.kde.syntax-highlighting/syntax. (%USERPROFILE% usually expands to C:\\Users\\user)

More info on katepart here

Usage

Unfortunately files ending in *.v is also used by the Verilog language. To make V source files take precedence over Verilog you can go to: Settings -> Editor Component -> Open / Save -> Modes & Filetypes -> Filetype: "Sources/V -> Priority: 1

For setting a higher priority than Verilog.

image