6

What are your techniques for folding scss code? It doesn't seam that Mr. Pope has this defined in his syntax file: https://github.com/tpope/vim-haml

Jeremy Iglehart
  • 4,281
  • 5
  • 25
  • 38

1 Answers1

10

Since you are using the new scss syntax, it is as simple as:

autocmd BufRead,BufNewFile *.css,*.scss,*.less setlocal foldmethod=marker foldmarker={,}
tungd
  • 14,467
  • 5
  • 41
  • 45