view runtime/compiler/sass.vim @ 24630:4cf4d7a71fac v8.2.2854

patch 8.2.2854: custom statusline cannot contain % items Commit: https://github.com/vim/vim/commit/30e3de21fc36153c5f7c9cf9db90bcc60dd67fb9 Author: shadmansaleh <shadmansaleh3@gmail.com> Date: Sat May 15 17:23:28 2021 +0200 patch 8.2.2854: custom statusline cannot contain % items Problem: Custom statusline cannot contain % items. Solution: Add "%{% expr %}". (closes https://github.com/vim/vim/issues/8190)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 May 2021 17:30:03 +0200
parents 43efa4f5a8ea
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Sass
" Maintainer:	Tim Pope <vimNOSPAM@tpope.org>
" Last Change:	2016 Aug 29

if exists("current_compiler")
  finish
endif
let current_compiler = "sass"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo-=C

CompilerSet makeprg=sass

CompilerSet errorformat=
      \%f:%l:%m\ (Sass::Syntax%trror),
      \%ESyntax\ %trror:%m,
      \%C%\\s%\\+on\ line\ %l\ of\ %f,
      \%Z%.%#,
      \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save

" vim:set sw=2 sts=2: