]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
vimrc: Don't highlight embedded languages in Vim script.
authorSimon Ruderich <simon@ruderich.org>
Wed, 1 Feb 2012 01:59:44 +0000 (02:59 +0100)
committerSimon Ruderich <simon@ruderich.org>
Wed, 1 Feb 2012 01:59:44 +0000 (02:59 +0100)
vimrc

diff --git a/vimrc b/vimrc
index 0df4fd6e2189294310d928e6910cba4d963d6370..15660a46cd0a363fab1be4cee820cf2237f22233 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -466,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