summaryrefslogtreecommitdiffstats
path: root/after
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-11-02 23:27:57 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2013-11-02 23:27:57 +0100
commit30c1920e4fa4e612238e1f435907c40ecfa47f33 (patch)
treef88ffb408895a5baf93fe81fdd12acba17f32d44 /after
parent57cfac7ae384466c3ff2543a9200319dc1d459a0 (diff)
downloadvim-polyglot-1.4.1.tar.gz
vim-polyglot-1.4.1.zip
Massive update :)v1.4.1
Diffstat (limited to 'after')
-rw-r--r--after/indent/html.vim4
-rw-r--r--after/syntax/css.vim1
2 files changed, 3 insertions, 2 deletions
diff --git a/after/indent/html.vim b/after/indent/html.vim
index 10ca6ce5..e6377087 100644
--- a/after/indent/html.vim
+++ b/after/indent/html.vim
@@ -4,12 +4,12 @@
" License: WTFPL
" Load the coffee and html indent functions.
-unlet b:did_indent
+silent! unlet b:did_indent
runtime indent/coffee.vim
let s:coffeeIndentExpr = &l:indentexpr
" Load html last so it can overwrite coffee settings.
-unlet b:did_indent
+silent! unlet b:did_indent
runtime indent/html.vim
let s:htmlIndentExpr = &l:indentexpr
diff --git a/after/syntax/css.vim b/after/syntax/css.vim
index e047d08d..b2931f73 100644
--- a/after/syntax/css.vim
+++ b/after/syntax/css.vim
@@ -97,6 +97,7 @@ if has("gui_running") || &t_Co==256
if out !~ '^cssDefinition ' | continue | endif
let out = substitute( out, ' \+xxx \+', ' ', '' )
let out = substitute( out, ' contains=\zs', '@cssColors,', '' )
+ syn clear cssDefinition
exe 'syn region' out
endfor
endif