diff options
author | Arctic Ice Studio <development@arcticicestudio.com> | 2019-04-14 19:38:47 +0200 |
---|---|---|
committer | Arctic Ice Studio <development@arcticicestudio.com> | 2019-04-14 19:38:47 +0200 |
commit | 40f85c4bc9cac624596f5555445f067e85e57335 (patch) | |
tree | 377ab55358bce00283c1fcc49faf3831c747e1a0 /autoload/lightline | |
parent | d2774cbb8b1b902557316f0a72841546b3416aa8 (diff) | |
download | nord-vim-40f85c4bc9cac624596f5555445f067e85e57335.tar.gz |
Added basic syntax highlighting support for Rust
This commit adds basic syntax highlighting support for Rust (1):
Traits (2) and enums (3) are colorized with `nord7` and with bold font
to make them visually stand out more.
Also attributes (4) and derives (5) are colored with `nord10`.
Macros (6) are colorized with `nord8` and bold font to make them
visually different from "normal" functions.
Escape (7) sequences are colored with `nord13`.
Import statements and paths are correctly colored with keyword and type colors.
References:
(1) https://www.rust-lang.org
(2) https://doc.rust-lang.org/book/ch10-02-traits.html
(3) https://doc.rust-lang.org/1.1.0/book/enums.html
(4) https://doc.rust-lang.org/reference/attributes.html
(5) https://doc.rust-lang.org/edition-guide/rust-2018/macros/custom-derive.html
(6) https://doc.rust-lang.org/1.8.0/book/macros.html
(7) https://doc.rust-lang.org/reference/tokens.html#ascii-escapes
GH-138
Diffstat (limited to 'autoload/lightline')
0 files changed, 0 insertions, 0 deletions