Nim language support and colors for Kate.
mkdir -p "~/.local/share/org.kde.syntax-highlighting/syntax/"
wget -o "~/.local/share/org.kde.syntax-highlighting/syntax/nim.xml" https://raw.githubusercontent.com/juancarlospaco/NimKate/master/nim.xml
mkdir -p "~/.local/share/org.kde.script/indentation/"
wget -o "~/.local/share/org.kde.script/indentation/nim.js" https://raw.githubusercontent.com/juancarlospaco/NimKate/master/nim.js
This does NOT require KatePart5 installed, works Ok with Kate only.
Source: https://docs.kde.org/trunk5/en/applications/katepart/highlight.html
Manual Install
- Syntax: Save XML file to
"~/.local/share/org.kde.syntax-highlighting/syntax/nim.xml"
- Indent: Save JS file to
"~/.local/share/org.kde.script/indentation/nim.js"
- Colors: Kate > Settings > Configure Kate > Fonts & Colors > (Schema) Import...
All code is released under WTFPL unless explicitly stated otherwise.