Mercurial > ec-dotfiles
comparison vendor/vim-syntax/coffee.vim @ 612:b305f2ce5f88
Update vendored files
author | nanaya <me@nanaya.pro> |
---|---|
date | Mon, 02 Apr 2018 17:34:40 +0900 |
parents | 0e72765944d4 |
children |
comparison
equal
deleted
inserted
replaced
611:96a7b2a3e774 | 612:b305f2ce5f88 |
---|---|
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\|debugger\|import\|export\|await\)\>/ | 35 syn match coffeeKeyword /\<\%(new\|in\|of\|from\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\|yield\|debugger\|import\|export\|default\|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\|native\|implements\|interface\|package\|private\|protected\|public\|static\)\>/ | 110 syn match coffeeReservedError /\<\%(case\|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 |