Pass the view into plugin callbacks

This commit is contained in:
Zachary Yedidia
2016-08-25 16:35:03 -04:00
parent ec0833b09c
commit d6da2dfeca
6 changed files with 145 additions and 150 deletions

View File

@@ -30,7 +30,7 @@ function runLinter()
end
end
function onSave()
function onSave(view)
if GetOption("linter") then
runLinter()
else