Hi,
     I have been looking for ways in which comments can be concealed and
this behavior toggled when required. I am thinking of doing this with something like
     =============================
      syntax match matchComment "\v^\s*#.*"  conceal cchar=||
      hi! link matchComment Comment
      =====================================

      and using conceallevel accordingly.

      However, I need this to be generic in that I don't need to hardcode
      the matchComment, instead it conceals the comment character based
      on the filetype of the file in current buffer. So is there a
      simpler way to do this (or a plugin already existing) ?

--------------------------
Raghavendra Prabhu
GPG Id : D72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977
www: wnohang.net

Attachment: pgpzd9y78uz3U.pgp
Description: PGP signature

Reply via email to