Permalink
Browse files

Add new octal literals

Per coffee-script commit
jashkenas@coffee-script/4372138fdd0ae20d5427f0ab368dc794eac5e361
  • Loading branch information...
1 parent 1b5a4e8 commit 4b3eac3fba72ba32065c0d675c3871a684af500b @kchmck committed Feb 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 syntax/coffee.vim
View
@@ -96,6 +96,7 @@ syn match coffeeNumber /\i\@<![-+]\?\d\+\%([eE][+-]\?\d\+\)\?/ display
" A hex number
syn match coffeeNumber /\<0[xX]\x\+\>/ display
syn match coffeeNumber /\<0[bB][01]\+\>/ display
+syn match coffeeNumber /\<0[oO][0-7]\+\>/ display
hi def link coffeeNumber Number
" A floating-point number, including a leading plus or minus

0 comments on commit 4b3eac3

Please sign in to comment.