Vim syntax syntax for scss

What are your methods for folding scss code? This does not mean that Mr. Papa defined this in his syntax file: https://github.com/tpope/vim-haml

+6
source share
1 answer

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

autocmd BufRead,BufNewFile *.css,*.scss,*.less setlocal foldmethod=marker foldmarker={,} 
+10
source

Source: https://habr.com/ru/post/904684/


All Articles