home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / runtime / dos / ftplugin / sass.vim < prev    next >
Encoding:
Text File  |  2010-08-15  |  602 b   |  23 lines

  1. " Vim filetype plugin
  2. " Language:    Sass
  3. " Maintainer:    Tim Pope <vimNOSPAM@tpope.org>
  4. " Last Change:    2010 Jul 26
  5.  
  6. " Only do this when not done yet for this buffer
  7. if exists("b:did_ftplugin")
  8.   finish
  9. endif
  10. let b:did_ftplugin = 1
  11.  
  12. let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"
  13.  
  14. setlocal commentstring=//\ %s
  15. setlocal define=^\\s*\\%(@mixin\\\|=\\)
  16. setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
  17. setlocal omnifunc=csscomplete#CompleteCSS
  18. setlocal suffixesadd=.sass,.scss,.css
  19.  
  20. let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='
  21.  
  22. " vim:set sw=2:
  23.