Skip to content

Instantly share code, notes, and snippets.

@petdance
Created September 28, 2016 15:29
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 petdance/55993762776870b95f443f5b415f9136 to your computer and use it in GitHub Desktop.
Save petdance/55993762776870b95f443f5b415f9136 to your computer and use it in GitHub Desktop.
$ diff -u /usr/share/vim/vim74/syntax/sql.vim /usr/local/vim8/share/vim/vim80/syntax/sql.vim
--- /usr/share/vim/vim74/syntax/sql.vim 2014-06-10 01:56:13.000000000 -0500
+++ /usr/local/vim8/share/vim/vim80/syntax/sql.vim 2016-09-13 15:13:49.202180373 -0500
@@ -10,11 +10,8 @@
" If the above exist, it will source the type specified.
" If none exist, it will source the default sql.vim file.
"
-" For version 5.x: Clear all syntax items
-" For version 6.x: Quit when a syntax file was already loaded
-if version < 600
- syntax clear
-elseif exists("b:current_syntax")
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
finish
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment