Skip to content

Commit 58ea022

Browse files
authored
fix(auto-save-nvim): improve compatibility with fyler.nvim (#1784)
* fix(auto-save-nvim): auto saving in fyler * fix(auto-save-nvim): code style
1 parent ab25a02 commit 58ea022

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • lua/astrocommunity/editing-support/auto-save-nvim

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ return {
5050
condition = function(buf)
5151
if vim.tbl_contains({
5252
"Fyler",
53-
}, vim.fn.getbufvar(buf, "&filetype")) then return false end
53+
"fyler_finder",
54+
}, vim.fn.getbufvar(buf, "&filetype")) then
55+
return false
56+
end
5457

5558
return true
5659
end,

0 commit comments

Comments
 (0)