# HG changeset patch # User nanaya # Date 1433409929 -32400 # Node ID 6f57f959cc0bbfdbaec99b00e80da7e30fc7a6bc # Parent 1c47fcd756142b7a26d3c64d9fb086d687c946e2 Update vim syntaxes. diff -r 1c47fcd75614 -r 6f57f959cc0b vendor/vim-syntax/coffee.vim --- a/vendor/vim-syntax/coffee.vim Thu Jun 04 17:48:28 2015 +0900 +++ b/vendor/vim-syntax/coffee.vim Thu Jun 04 18:25:29 2015 +0900 @@ -32,7 +32,7 @@ syn match coffeeException /\<\%(try\|catch\|finally\)\>/ display hi def link coffeeException Exception -syn match coffeeKeyword /\<\%(new\|in\|of\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\)\>/ +syn match coffeeKeyword /\<\%(new\|in\|of\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\|yield\)\>/ \ display " The `own` keyword is only a keyword after `for`. syn match coffeeKeyword /\/ contained containedin=coffeeRepeat @@ -92,7 +92,7 @@ hi def link coffeeString String " A integer, including a leading plus or minus -syn match coffeeNumber /\%(\i\|\$\)\@/ display syn match coffeeNumber /\<0[bB][01]\+\>/ display @@ -107,7 +107,7 @@ " An error for reserved keywords, taken from the RESERVED array: " http://coffeescript.org/documentation/docs/lexer.html#section-67 -syn match coffeeReservedError /\<\%(case\|default\|function\|var\|void\|with\|const\|let\|enum\|export\|import\|native\|__hasProp\|__extends\|__slice\|__bind\|__indexOf\|implements\|interface\|package\|private\|protected\|public\|static\|yield\)\>/ +syn match coffeeReservedError /\<\%(case\|default\|function\|var\|void\|with\|const\|let\|enum\|export\|import\|native\|__hasProp\|__extends\|__slice\|__bind\|__indexOf\|implements\|interface\|package\|private\|protected\|public\|static\)\>/ \ display hi def link coffeeReservedError Error diff -r 1c47fcd75614 -r 6f57f959cc0b vendor/vim-syntax/json.vim --- a/vendor/vim-syntax/json.vim Thu Jun 04 17:48:28 2015 +0900 +++ b/vendor/vim-syntax/json.vim Thu Jun 04 18:25:29 2015 +0900 @@ -36,9 +36,9 @@ " Separated into a match and region because a region by itself is always greedy syn match jsonKeywordMatch /"\([^"]\|\\\"\)\+"[[:blank:]\r\n]*\:/ contains=jsonKeyword if has('conceal') && g:vim_json_syntax_conceal == 1 - syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ concealends contained + syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ concealends contains=jsonEscape contained else - syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ contained + syn region jsonKeyword matchgroup=jsonQuote start=/"/ end=/"\ze[[:blank:]\r\n]*\:/ contains=jsonEscape contained endif " Syntax: Escape sequences @@ -101,10 +101,10 @@ hi def link jsonString String hi def link jsonTest Label hi def link jsonEscape Special - hi def link jsonNumber Number + hi def link jsonNumber Delimiter hi def link jsonBraces Delimiter hi def link jsonNull Function - hi def link jsonBoolean Boolean + hi def link jsonBoolean Delimiter hi def link jsonKeyword Label if (!exists("g:vim_json_warnings") || g:vim_json_warnings==1)