AutoYADM commit: 2024-12-21 15:50:04
This commit is contained in:
parent
d38da98b4e
commit
bddd027352
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ return {
|
|||
enabled = true,
|
||||
only_current = true,
|
||||
filter = function(buf)
|
||||
if vim.bo[buf].filetype == "markdown" then
|
||||
local rm = require("render-markdown").enabled
|
||||
return rm
|
||||
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