view runtime/ftplugin/sass.vim @ 9994:ee8b8a670a5c v7.4.2270

commit https://github.com/vim/vim/commit/821179809d9b0f65177360b53584be2b4039dd46 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 27 19:21:48 2016 +0200 patch 7.4.2270 Problem: Insufficient testing for NUL bytes on a raw channel. Solution: Add a test for writing and reading.
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Aug 2016 19:30:06 +0200
parents 8f017e31750f
children 43efa4f5a8ea
line wrap: on
line source

" Vim filetype plugin
" Language:	Sass
" Maintainer:	Tim Pope <vimNOSPAM@tpope.org>
" Last Change:	2010 Jul 26

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let b:undo_ftplugin = "setl cms< def< inc< inex< ofu< sua<"

setlocal commentstring=//\ %s
setlocal define=^\\s*\\%(@mixin\\\|=\\)
setlocal includeexpr=substitute(v:fname,'\\%(.*/\\\|^\\)\\zs','_','')
setlocal omnifunc=csscomplete#CompleteCSS
setlocal suffixesadd=.sass,.scss,.css

let &l:include = '^\s*@import\s\+\%(url(\)\=["'']\='

" vim:set sw=2: