Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Larpon/kate-syntax-highlight-v
Syntax highlighting of V files for the Kate editor
https://github.com/Larpon/kate-syntax-highlight-v
kate kate-editor syntax-highlighting v vlang
Last synced: 3 months ago
JSON representation
Syntax highlighting of V files for the Kate editor
- Host: GitHub
- URL: https://github.com/Larpon/kate-syntax-highlight-v
- Owner: larpon
- Created: 2019-11-07T10:04:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-17T14:20:50.000Z (4 months ago)
- Last Synced: 2024-07-17T17:45:48.296Z (4 months ago)
- Topics: kate, kate-editor, syntax-highlighting, v, vlang
- Size: 27.3 KB
- Stars: 19
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-v - kate-syntax-highlight-v - V syntax highlighting for [Kate](https://kate-editor.org/). (Other / Syntax highlighting)
README
# V syntax highlighting for Kate
Syntax highlighting for the [V](https://vlang.io/) language.
## Install
### NOTE
The xml contents of this repository is now upstreamed to [KDE/syntax-highlighting](https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/v.xml).
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](https://docs.kde.org/stable5/en/applications/katepart/highlight.html)
## 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: 1For setting a higher priority than Verilog.
![image](https://user-images.githubusercontent.com/768942/68543032-6a421880-03b2-11ea-80cd-8284fa0f030b.png)