AutoYADM commit: 2024-12-21 15:55:05
This commit is contained in:
parent
bddd027352
commit
d05f1e35a1
1 changed files with 6 additions and 2 deletions
|
@ -6,8 +6,12 @@ return {
|
|||
only_current = true,
|
||||
filter = function(buf)
|
||||
if vim.bo[buf].filetype == "markdown" then
|
||||
local rm = require("render-markdown").enabled
|
||||
return rm
|
||||
return false
|
||||
-- local rm = require("render-markdown").enabled
|
||||
-- -- vim.notify(tostring(rm))
|
||||
-- if rm then
|
||||
-- return false
|
||||
-- end
|
||||
end
|
||||
return vim.g.snacks_indent ~= false and vim.b[buf].snacks_indent ~= false and vim.bo[buf].buftype == ""
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue