ensure javascript formatting loads if coffeescript syntax highlighting is requested by not available
This commit is contained in:
parent
de6d38b31e
commit
1f9d76ab6a
|
@ -4,12 +4,14 @@ endif
|
||||||
|
|
||||||
if &ft =~ "coffee"
|
if &ft =~ "coffee"
|
||||||
runtime! syntax/coffee.vim
|
runtime! syntax/coffee.vim
|
||||||
else
|
endif
|
||||||
|
|
||||||
|
if !exists("b:current_syntax")
|
||||||
runtime! syntax/javascript.vim
|
runtime! syntax/javascript.vim
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syn case match
|
syn case match
|
||||||
syn keyword specFunctions afterEach beforeEach describe it expect addMatchers spyOn not
|
syn keyword specFunctions afterEach beforeEach describe it expect addMatchers spyOn not context
|
||||||
syn keyword specDisabled xit xdescribe
|
syn keyword specDisabled xit xdescribe
|
||||||
syn keyword specSpys andCallThrough andReturn andThrow andCallFake callCount argsForCall mostRecentCall
|
syn keyword specSpys andCallThrough andReturn andThrow andCallFake callCount argsForCall mostRecentCall
|
||||||
syn keyword specAsync runs waits waitsFor
|
syn keyword specAsync runs waits waitsFor
|
||||||
|
|
Loading…
Reference in New Issue