Advertisement
chusiang

html-fold-table.vim

Jun 9th, 2012
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.34 KB | None | 0 0
  1. " fold <table>, </table> at HTML.
  2.  
  3. syntax on
  4.  
  5. " - 小寫。
  6. set foldmarker=<table,</table>
  7. set foldmethod=marker
  8. set foldlevel=0         " 預設全部關閉
  9. set foldnestmax=5
  10.  
  11. " - 大寫。
  12. set foldmarker=<TABLE,</TABLE>
  13. set foldmethod=marker
  14. set foldlevel=0         " 預設全部關閉
  15. set foldnestmax=5
  16.  
  17. let php_folding = 1 " 這個很重要
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement