Syntax highlighting for the V language.
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.
Add v.xml
symlink (or copy file) to:
$HOME/.local/share/katepart5/syntax
Copy to %USERPROFILE%/AppData/Local/org.kde.syntax-highlighting/syntax
. (%USERPROFILE%
usually expands to C:\\Users\\user
)
More info on katepart here
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.