ref
This commit is contained in:
parent
f0945e885e
commit
cd88354c40
@ -16,7 +16,8 @@ return {
|
|||||||
local utils = require("auto-save.utils.data")
|
local utils = require("auto-save.utils.data")
|
||||||
if
|
if
|
||||||
fn.getbufvar(buf, "&modifiable") == 1 and
|
fn.getbufvar(buf, "&modifiable") == 1 and
|
||||||
utils.not_in(fn.getbufvar(buf, "&filetype"), {}) then
|
utils.not_in(fn.getbufvar(buf, "&filetype"), {})
|
||||||
|
then
|
||||||
return true -- met condition(s), can save
|
return true -- met condition(s), can save
|
||||||
end
|
end
|
||||||
return false -- can't save
|
return false -- can't save
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user