commit 88f6eef6f72fc05393d5a61553110a651d47b76e parent b2a7a3f7be7859c591784b57334bd20e3087f030 Author: Alex Balgavy <alex@balgavy.eu> Date: Sat, 30 Jan 2021 23:37:07 +0100 vim: sass support Diffstat:
A | vim/after/ftplugin/scss.vim | | | 1 | + |
D | vim/compiler/groff.pdf | | | 0 | |
A | vim/compiler/scss.vim | | | 8 | ++++++++ |
3 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/vim/after/ftplugin/scss.vim b/vim/after/ftplugin/scss.vim @@ -0,0 +1 @@ +compiler scss diff --git a/vim/compiler/groff.pdf b/vim/compiler/groff.pdf Binary files differ. diff --git a/vim/compiler/scss.vim b/vim/compiler/scss.vim @@ -0,0 +1,8 @@ +if exists("current_compiler") + finish +endif +let current_compiler = "scss" +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal <args> +endif +CompilerSet makeprg=sass\ %\ %<.css