summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-05-25 20:59:35 +0100
committerw0rp <devw0rp@gmail.com>2018-05-25 20:59:35 +0100
commit51a063be31e70046aaca767a02d25b0c5be9a692 (patch)
tree443be941543e2038af5943d6aa0f00120be815cc /autoload
parent8d49da1f1cc0fadc31f479a05f16f0e423c226a3 (diff)
downloadale-51a063be31e70046aaca767a02d25b0c5be9a692.zip
Move the sasslint handlers to one location
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/sasslint.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/autoload/ale/handlers/sasslint.vim b/autoload/ale/handlers/sasslint.vim
new file mode 100644
index 00000000..399bf47c
--- /dev/null
+++ b/autoload/ale/handlers/sasslint.vim
@@ -0,0 +1,8 @@
+" Author: KabbAmine - https://github.com/KabbAmine,
+" Ben Falconer <ben@falconers.me.uk>
+
+function! ale#handlers#sasslint#GetCommand(buffer) abort
+ return ale#path#BufferCdString(a:buffer)
+ \ . ale#Escape('sass-lint')
+ \ . ' -v -q -f compact %t'
+endfunction