vimrc/sources_non_forked/vim-coffee-script/test/test-reserved.coffee

28 lines
310 B
CoffeeScript
Raw Normal View History

2012-08-17 03:41:25 +00:00
# Should be an error
function = 42
var = 42
# Shouldn't be an error
abc.with = 42
function: 42
var: 42
# Keywords shouldn't be highlighted
abc.function
abc.do
abc.break
abc.true
abc::function
abc::do
abc::break
abc::true
abc:: function
abc. function
# Numbers should be highlighted
def.42
def .42
def::42