view runtime/ftplugin/sass.vim @ 18806:e966de1d0376 v8.1.2391

patch 8.1.2391: cannot build when __QNXNTO__ is defined Commit: https://github.com/vim/vim/commit/c95e8d649045add4e77b423bc159dc0d845af559 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 5 18:35:44 2019 +0100 patch 8.1.2391: cannot build when __QNXNTO__ is defined Problem: Cannot build when __QNXNTO__ is defined. (Ian Wayne Larson) Solution: Move the check for "qansi". (Ken Takata, closes https://github.com/vim/vim/issues/5317)
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Dec 2019 18:45:03 +0100
parents 43efa4f5a8ea
children 5c40013d45ee
line wrap: on
line source

" Vim filetype plugin
" Language:	Sass
" Maintainer:	Tim Pope <vimNOSPAM@tpope.org>
" Last Change:	2016 Aug 29

" 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 com< cms< def< inc< inex< ofu< sua<"

setlocal comments=://
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: