kate-syntax-highlight-v icon indicating copy to clipboard operation
kate-syntax-highlight-v copied to clipboard

Syntax highlighting of V files for the Kate editor

V syntax highlighting for Kate

WIP syntax highlighting for the V language.

Install

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