]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
vimrc: Don't highlight embedded languages in Vim script.
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index f6ce23416f795b3ebf26f0b3a674dbacec95d6c3..15660a46cd0a363fab1be4cee820cf2237f22233 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -1,5 +1,20 @@
 " Vim main configuration file.
 
+" Copyright (C) 2011-2012  Simon Ruderich
+"
+" This file is free software: you can redistribute it and/or modify
+" it under the terms of the GNU General Public License as published by
+" the Free Software Foundation, either version 3 of the License, or
+" (at your option) any later version.
+"
+" This file is distributed in the hope that it will be useful,
+" but WITHOUT ANY WARRANTY; without even the implied warranty of
+" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+" GNU General Public License for more details.
+"
+" You should have received a copy of the GNU General Public License
+" along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 " EDITOR SETTINGS
 
@@ -451,8 +466,9 @@ if has('syntax')
     let g:perl_include_pod = 1 " syntax coloring for PODs
     " Python.
     let g:python_highlight_all = 1
-    " Vim, enable folding for autogroups (a) and functions (f).
-    let g:vimsyn_folding = "af"
+    " Vim.
+    let g:vimsyn_embed = 0      " don't highlight embedded languages
+    let g:vimsyn_folding = "af" " folding for autogroups (a) and functions (f)
     " XML.
     let g:xml_syntax_folding = 1
 endif