Mercurial > vim
view runtime/ftplugin/sass.vim @ 10245:d76ccdacb41e v8.0.0020
commit https://github.com/vim/vim/commit/6100d02aab7c8294b581cb299250eea164b50e9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 2 16:51:57 2016 +0200
patch 8.0.0020
Problem: The regexp engines are not reentrant.
Solution: Add regexec_T and save/restore the state when needed.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 02 Oct 2016 17:00:05 +0200 |
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: