Skip to content

Commit bc1033a

Browse files
committed
fix(auto-save-nvim): auto saving in fyler
1 parent eb2204e commit bc1033a

File tree

1 file changed

+11
-1
lines changed
  • lua/astrocommunity/editing-support/auto-save-nvim

1 file changed

+11
-1
lines changed

lua/astrocommunity/editing-support/auto-save-nvim/init.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,15 @@ return {
4646
},
4747
},
4848
},
49-
opts = {},
49+
opts = {
50+
condition = function(buf)
51+
if vim.tbl_contains({
52+
"Fyler",
53+
}, vim.fn.getbufvar(buf, "&filetype")) then
54+
return false
55+
end
56+
57+
return true
58+
end,
59+
},
5060
}

0 commit comments

Comments
 (0)