less.vim 502 B

123456789101112131415161718192021
  1. " Vim filetype plugin
  2. " Language: less
  3. " Maintainer: Alessandro Vioni <jenoma@gmail.com>
  4. " URL: https://github.com/genoma/vim-less
  5. " Last Change: 2014 November 24
  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. let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"
  12. setlocal formatoptions-=t formatoptions+=croql
  13. setlocal comments=:// commentstring=//\ %s
  14. setlocal omnifunc=csscomplete#CompleteCSS
  15. setlocal suffixesadd=.less