summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra D Prabhu <raghu.prabhu13@gmail.com>2010-11-29 00:54:08 +0530
committerRaghavendra D Prabhu <raghu.prabhu13@gmail.com>2010-11-29 00:54:08 +0530
commit851c6c706db0ec5b0b880294e41d2bf127934970 (patch)
treec585f15de1d4631d0bf81102eea291a5282ef1f7
parent46fe851b2406d2a512f97c10f94830959afd0fd1 (diff)
downloadcomceal-851c6c706db0ec5b0b880294e41d2bf127934970.tar.gz
comceal-851c6c706db0ec5b0b880294e41d2bf127934970.tar.bz2
comceal-851c6c706db0ec5b0b880294e41d2bf127934970.zip
fixed
-rw-r--r--after/plugin/comceal.vim12
1 files changed, 7 insertions, 5 deletions
diff --git a/after/plugin/comceal.vim b/after/plugin/comceal.vim
index 261833f..3eb81e1 100644
--- a/after/plugin/comceal.vim
+++ b/after/plugin/comceal.vim
@@ -5,15 +5,17 @@
endif
" remove the keywords. we'll re-add them below
- if ! &ft
- finish
- endif
+" if ! &ft
+" finish
+" endif
let commentType=&ft."Comment"
- syntax cluster matchi add=&ft."Comment"
- syntax match matchComment "" contains=@matchi conceal cchar=Ξ
+ "syntax cluster matchi add=&ft."Comment"
+ "syntax match matchComment "\v^\s*#.*" contains=@matchi conceal cchar=Ξ
+ "syntax cluster matchi add=&ft."Comment"
+ syntax match matchComment "\v^\s*#.*" conceal cchar=||
hi! link matchComment Comment
set conceallevel=2