Skip to content

Commit

Permalink
Merge pull request #1 from akiomik/master
Browse files Browse the repository at this point in the history
added "addSbtPlugin" syntax
  • Loading branch information
derekwyatt committed Oct 23, 2013
2 parents 29a6eb1 + 21a1d17 commit 8c6ad85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion syntax/sbt.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: sbt
" Maintainer: Derek Wyatt <derek@{myfirstname}{mylastname}.org>
" Last Change: 2012 Jan 19
" Last Change: 2013 Oct 20

if exists("b:current_syntax")
finish
Expand All @@ -15,6 +15,7 @@ syn match sbtStringEscape "\\[nrfvb\\\"]" contained

syn match sbtIdentitifer "^\S\+\ze\s*\(:=\|++=\|+=\|<<=\|<+=\)"
syn match sbtBeginningSeq "^[Ss]eq\>"
syn match sbtAddPlugin "^addSbtPlugin\>"

syn match sbtSpecial "\(:=\|++=\|+=\|<<=\|<+=\)"

Expand All @@ -25,6 +26,7 @@ syn region sbtDocComment start="/\*\*" end="\*/" keepend
hi link sbtString String
hi link sbtIdentitifer Keyword
hi link sbtBeginningSeq Keyword
hi link sbtAddPlugin Keyword
hi link sbtSpecial Special
hi link sbtComment Comment
hi link sbtLineComment Comment
Expand Down

0 comments on commit 8c6ad85

Please sign in to comment.