Skip to content

Instantly share code, notes, and snippets.

@qickstarter
Created September 7, 2012 18:41
Show Gist options
  • Save qickstarter/3668477 to your computer and use it in GitHub Desktop.
Save qickstarter/3668477 to your computer and use it in GitHub Desktop.
"------------------------------------
" 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