Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.

Commit e526782

Browse files
committed
Expand instructions to cover Kate 5.x.
1 parent d33b556 commit e526782

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
To install this theme run:
1+
To install this highlighting file run:
22

33
```
4+
# Clone
45
git clone https://github.com/rust-lang/kate-config.git`
6+
7+
# The following differs between Kate 4.x and 5.x, see below:
8+
9+
# For Kate 4.x:
510
mkdir --parents ~/.kde/share/apps/katepart/syntax
611
cp kate-config/rust.xml ~/.kde/share/apps/katepart/syntax
12+
13+
# For Kate 5.x:
14+
mkdir --parents ~/.local/share/apps/katepart5/syntax
15+
cp kate-config/rust.xml ~/.local/share/apps/katepart5/syntax
716
```
817

9-
Then from kate, open a rust file. If rust highlighting
18+
Then from Kate, open a Rust file. If Rust highlighting
1019
isn't enabled, enable this setting in the menus:
1120

1221
Tools -> Highlighting -> Sources -> Rust

0 commit comments

Comments
 (0)