summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/defaults.vim22
1 files changed, 11 insertions, 11 deletions
diff --git a/runtime/defaults.vim b/runtime/defaults.vim
index e88160402..c15d743c0 100644
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -85,17 +85,6 @@ if has('mouse')
endif
endif
-" Switch syntax highlighting on when the terminal has colors or when using the
-" GUI (which always has colors).
-if &t_Co > 2 || has("gui_running")
- " Revert with ":syntax off".
- syntax on
-
- " I like highlighting strings inside C comments.
- " Revert with ":unlet c_comment_strings".
- let c_comment_strings=1
-endif
-
" Only do this part when Vim was compiled with the +eval feature.
if 1
@@ -124,6 +113,17 @@ if 1
endif
+" Switch syntax highlighting on when the terminal has colors or when using the
+" GUI (which always has colors).
+if &t_Co > 2 || has("gui_running")
+ " Revert with ":syntax off".
+ syntax on
+
+ " I like highlighting strings inside C comments.
+ " Revert with ":unlet c_comment_strings".
+ let c_comment_strings=1
+endif
+
" Convenient command to see the difference between the current buffer and the
" file it was loaded from, thus the changes you made.
" Only define it when not defined already.