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,
|
only_current = true,
|
||||||
filter = function(buf)
|
filter = function(buf)
|
||||||
if vim.bo[buf].filetype == "markdown" then
|
if vim.bo[buf].filetype == "markdown" then
|
||||||
local rm = require("render-markdown").enabled
|
return false
|
||||||
return rm
|
-- local rm = require("render-markdown").enabled
|
||||||
|
-- -- vim.notify(tostring(rm))
|
||||||
|
-- if rm then
|
||||||
|
-- return false
|
||||||
|
-- end
|
||||||
end
|
end
|
||||||
return vim.g.snacks_indent ~= false and vim.b[buf].snacks_indent ~= false and vim.bo[buf].buftype == ""
|
return vim.g.snacks_indent ~= false and vim.b[buf].snacks_indent ~= false and vim.bo[buf].buftype == ""
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue