AutoYADM commit: 2024-12-21 15:45:05
This commit is contained in:
parent
fe0cf442c2
commit
d38da98b4e
2 changed files with 5 additions and 0 deletions
|
@ -48,8 +48,10 @@ return {
|
|||
local m = require("render-markdown")
|
||||
if enabled then
|
||||
m.enable()
|
||||
Snacks.indent.disable()
|
||||
else
|
||||
m.disable()
|
||||
Snacks.indent.enable()
|
||||
end
|
||||
end,
|
||||
}):map("<leader>um")
|
||||
|
|
|
@ -4,6 +4,9 @@ return {
|
|||
indent = {
|
||||
enabled = true,
|
||||
only_current = true,
|
||||
filter = function(buf)
|
||||
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