Skip to content

Commit

Permalink
Merge pull request nordtheme#154 from arcticicestudio/feature/nordthe…
Browse files Browse the repository at this point in the history
…megh-138-basic-rust-syntax-highlighting-support

Basic syntax highlighting support for Rust
  • Loading branch information
arcticicestudio authored Apr 15, 2019
2 parents e85dbe7 + 40f85c4 commit 8de69ba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions colors/nord.vim
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,18 @@ hi! link rubyLocalVariableOrMethod Function
hi! link rubyPseudoVariable Keyword
hi! link rubyRegexp SpecialChar

call s:hi("rustAttribute", s:nord10_gui, "", s:nord10_term, "", "", "")
call s:hi("rustEnum", s:nord7_gui, "", s:nord7_term, "", "bold", "")
call s:hi("rustMacro", s:nord8_gui, "", s:nord8_term, "", "bold", "")
call s:hi("rustModPath", s:nord7_gui, "", s:nord7_term, "", "", "")
call s:hi("rustPanic", s:nord9_gui, "", s:nord9_term, "", "bold", "")
call s:hi("rustTrait", s:nord7_gui, "", s:nord7_term, "", s:italic, "")
hi! link rustCommentLineDoc Comment
hi! link rustDerive rustAttribute
hi! link rustEnumVariant rustEnum
hi! link rustEscape SpecialChar
hi! link rustQuestionMark Keyword

call s:hi("sassClass", s:nord7_gui, "", s:nord7_term, "", "", "")
call s:hi("sassId", s:nord7_gui, "", s:nord7_term, "", s:underline, "")
hi! link sassAmpersand Keyword
Expand Down

0 comments on commit 8de69ba

Please sign in to comment.