mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Pass the view into plugin callbacks
This commit is contained in:
@@ -30,7 +30,7 @@ function runLinter()
|
||||
end
|
||||
end
|
||||
|
||||
function onSave()
|
||||
function onSave(view)
|
||||
if GetOption("linter") then
|
||||
runLinter()
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user