Created
September 7, 2012 18:41
-
-
Save qickstarter/3668477 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"------------------------------------ | |
" sass | |
"------------------------------------ | |
""{{{ | |
let g:sass_compile_auto = 1 | |
let g:sass_compile_cdloop = 5 | |
let g:sass_compile_cssdir = ['css', 'stylesheet'] | |
let g:sass_compile_file = ['scss', 'sass'] | |
let g:sass_started_dirs = [] | |
au! BufWritePost * SassCompile | |
" function! Sass_start() | |
" let current_dir = expand('%:p:h') | |
" if match(g:sass_started_dirs, '^'.current_dir.'$') == -1 | |
" call add(g:sass_started_dirs, current_dir) | |
" call system('sass --watch ' . current_dir . ' &') | |
" endif | |
" endfunction | |
" au! BufRead *.scss,*sass call Sass_start() | |
" au! Filetype scss,sass call Sass_start() | |
"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment