Skip to content

Commit 9e3b4de

Browse files
authored
Merge pull request #216 from bugnano/master
Highlight the "from" keyword, for the for...from construct
2 parents de6b632 + 9795ab3 commit 9e3b4de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syntax/coffee.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ hi def link coffeeConditional Conditional
3232
syn match coffeeException /\<\%(try\|catch\|finally\)\>/ display
3333
hi def link coffeeException Exception
3434

35-
syn match coffeeKeyword /\<\%(new\|in\|of\|by\|and\|or\|not\|is\|isnt\|class\|extends\|super\|do\|yield\|debugger\|import\|export\|default\|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\)\>/
3636
\ display
3737
" The `own` keyword is only a keyword after `for`.
3838
syn match coffeeKeyword /\<for\s\+own\>/ contained containedin=coffeeRepeat

0 commit comments

Comments
 (0)