• R/O
  • HTTP
  • SSH
  • HTTPS

kink.vim: 提交

Vim Plugins for Kink Programming Language


Commit MetaInfo

修订版6c9c7e202408bfd3b2dce85b6fd436fa1cb69a6f (tree)
时间2020-07-07 20:59:29
作者Taku Miyakawa <miyakawa.taku@gmai...>
CommiterTaku Miyakawa

Log Message

update syntax

更改概述

差异

--- a/syntax/kink.vim
+++ b/syntax/kink.vim
@@ -1,7 +1,7 @@
11 " Vim syntax file
22 " Language: Kink (https://bitbucket.org/kink/kink/src)
33 " Maintainer: Miyakawa Taku <miyakawa.taku@gmail.com>
4-" Last Change: 2020-06-19
4+" Last Change: 2020-07-07
55
66 " Copyright (c) 2013- Miyakawa Taku
77 "
@@ -43,8 +43,8 @@ syntax match kinkComment "#.*" contains=kinkTodo
4343 syntax region kinkString skip=+''+ matchgroup=kinkQuoteStart start=+'+ matchgroup=kinkQuoteEnd end=+'+
4444 syntax region kinkString skip=+\\.+ matchgroup=kinkQuoteStart start=+"+ matchgroup=kinkQuoteEnd end=+"+ contains=kinkStringEscape
4545 syntax region kinkString matchgroup=kinkQuoteStart start=+(\z(=\+\)'+ matchgroup=kinkQuoteEnd end=+'\z1)+
46-syntax match kinkStringEscape contained +\\[0tnrabefv"\\]\|\\u[0-9a-f]\{4}\|\\x{[0-9a-f]\{1,6}}+
47-syntax match kinkPseudoVariable "\\\(binding\|recv\|args\)\>"
46+syntax match kinkStringEscape contained +\\[0tnrabefv"\\]\|\\x{[0-9a-f]\{1,6}}+
47+syntax match kinkPseudoVariable "\\binding\>"
4848 syntax match kinkInteger "\(0x_*[0-9a-f][0-9a-f_]*\|0b_*[01][01_]*\|[0-9][0-9_]*\)\>"
4949 syntax match kinkDecimal "[0-9][0-9_]*\.[0-9][0-9_]*\>"
5050
Show on old repository browser