Mercurial > vim
view runtime/syntax/sbt.vim @ 18827:f98368dd6615 v8.1.2401
patch 8.1.2401: :cexpr does not handle | in expression
Commit: https://github.com/vim/vim/commit/88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 6 21:11:39 2019 +0100
patch 8.1.2401: :cexpr does not handle | in expression
Problem: :cexpr does not handle | in expression.
Solution: Remove EX_TRLBAR and set nextcmd pointer.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 Dec 2019 21:15:04 +0100 |
parents | d183d629509e |
children |
line wrap: on
line source
" Vim syntax file " Language: sbt " Maintainer: Steven Dobay <stevendobay at protonmail.com> " Last Change: 2017.04.30 if exists("b:current_syntax") finish endif runtime! syntax/scala.vim syn region sbtString start="\"[^"]" skip="\\\"" end="\"" contains=sbtStringEscape syn match sbtStringEscape "\\u[0-9a-fA-F]\{4}" contained syn match sbtStringEscape "\\[nrfvb\\\"]" contained syn match sbtIdentitifer "^\S\+\ze\s*\(:=\|++=\|+=\|<<=\|<+=\)" syn match sbtBeginningSeq "^[Ss]eq\>" syn match sbtSpecial "\(:=\|++=\|+=\|<<=\|<+=\)" syn match sbtLineComment "//.*" syn region sbtComment start="/\*" end="\*/" syn region sbtDocComment start="/\*\*" end="\*/" keepend hi link sbtString String hi link sbtIdentitifer Keyword hi link sbtBeginningSeq Keyword hi link sbtSpecial Special hi link sbtComment Comment hi link sbtLineComment Comment hi link sbtDocComment Comment