Skip to content

Instantly share code, notes, and snippets.

@amadeus
Last active December 19, 2015 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amadeus/b836fb8effee5729be2e to your computer and use it in GitHub Desktop.
Save amadeus/b836fb8effee5729be2e to your computer and use it in GitHub Desktop.
if !exists("main_syntax")
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
let main_syntax = 'javascript'
elseif exists("b:current_syntax")
if b:current_syntax == 'javascript'
finish
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment