From 155430669f4be8e53b2d86f694ba9fb511c47a5b Mon Sep 17 00:00:00 2001 From: Pavel Pertsev Date: Mon, 10 Nov 2014 05:09:31 +0300 Subject: [PATCH] Initial Scala syntax support --- colors/gruvbox.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/colors/gruvbox.vim b/colors/gruvbox.vim index c6e06941..d7df4c37 100644 --- a/colors/gruvbox.vim +++ b/colors/gruvbox.vim @@ -957,6 +957,27 @@ hi! link elixirDocString Comment call s:HL('elixirStringDelimiter', 'green') call s:HL('elixirInterpolationDelimiter', 'aqua') +" }}} +" Scala: {{{ + +" NB: scala vim syntax file is kinda horrible +call s:HL('scalaNameDefinition', 'light1') +call s:HL('scalaCaseFollowing', 'light1') +call s:HL('scalaCapitalWord', 'light1') +call s:HL('scalaTypeExtension', 'light1') + +call s:HL('scalaKeyword', 'red') +call s:HL('scalaKeywordModifier', 'red') + +call s:HL('scalaSpecial', 'aqua') +call s:HL('scalaOperator', 'light1') + +call s:HL('scalaTypeDeclaration', 'yellow') +call s:HL('scalaTypeTypePostDeclaration', 'yellow') + +call s:HL('scalaInstanceDeclaration', 'light1') +call s:HL('scalaInterpolation', 'aqua') + " }}} " Functions -------------------------------------------------------------------