Mercurial > ec-dotfiles
comparison vendor/vim-syntax/coffee.vim @ 595:0e72765944d4
Update vendors
author | nanaya <me@myconan.net> |
---|---|
date | Wed, 22 Mar 2017 00:27:53 +0900 |
parents | 6f57f959cc0b |
children | b305f2ce5f88 |
comparison
equal
deleted
inserted
replaced
594:2ac0fa5ba73c | 595:0e72765944d4 |
---|---|
30 hi def link coffeeConditional Conditional | 30 hi def link coffeeConditional Conditional |
31 | 31 |
32 syn match coffeeException /\<\%(try\|catch\|finally\)\>/ display | 32 syn match coffeeException /\<\%(try\|catch\|finally\)\>/ display |
33 hi def link coffeeException Exception | 33 hi def link coffeeException Exception |
34 | 34 |
35 syn match coffeeKeyword /\<\%(new\|in\|of\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\|yield\)\>/ | 35 syn match coffeeKeyword /\<\%(new\|in\|of\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\|yield\|debugger\|import\|export\|await\)\>/ |
36 \ display | 36 \ display |
37 " The `own` keyword is only a keyword after `for`. | 37 " The `own` keyword is only a keyword after `for`. |
38 syn match coffeeKeyword /\<for\s\+own\>/ contained containedin=coffeeRepeat | 38 syn match coffeeKeyword /\<for\s\+own\>/ contained containedin=coffeeRepeat |
39 \ display | 39 \ display |
40 hi def link coffeeKeyword Keyword | 40 hi def link coffeeKeyword Keyword |
105 \ display | 105 \ display |
106 hi def link coffeeFloat Float | 106 hi def link coffeeFloat Float |
107 | 107 |
108 " An error for reserved keywords, taken from the RESERVED array: | 108 " An error for reserved keywords, taken from the RESERVED array: |
109 " http://coffeescript.org/documentation/docs/lexer.html#section-67 | 109 " http://coffeescript.org/documentation/docs/lexer.html#section-67 |
110 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\)\>/ | 110 syn match coffeeReservedError /\<\%(case\|default\|function\|var\|void\|with\|const\|let\|enum\|native\|implements\|interface\|package\|private\|protected\|public\|static\)\>/ |
111 \ display | 111 \ display |
112 hi def link coffeeReservedError Error | 112 hi def link coffeeReservedError Error |
113 | 113 |
114 " A normal object assignment | 114 " A normal object assignment |
115 syn match coffeeObjAssign /@\?\%(\I\|\$\)\%(\i\|\$\)*\s*\ze::\@!/ contains=@coffeeIdentifier display | 115 syn match coffeeObjAssign /@\?\%(\I\|\$\)\%(\i\|\$\)*\s*\ze::\@!/ contains=@coffeeIdentifier display |