aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-04-15 22:18:30 +0200
committerGravatar GitHub <noreply@github.com>2019-04-15 22:18:30 +0200
commit8de69ba097e87aad000326a723b96b3c2732e182 (patch)
treec2352511e08701291340f144d1c2d17e3d4c74b3
parente85dbe75b63baff9f78de5e68b8cefb905d347a8 (diff)
parent40f85c4bc9cac624596f5555445f067e85e57335 (diff)
downloadnord-vim-8de69ba097e87aad000326a723b96b3c2732e182.tar.gz
Merge pull request #154 from arcticicestudio/feature/gh-138-basic-rust-syntax-highlighting-support
Basic syntax highlighting support for Rust
-rwxr-xr-xcolors/nord.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index af033de..fbd3deb 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -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