16 lines
412 B
Lua
16 lines
412 B
Lua
return {
|
|
"folke/snacks.nvim",
|
|
opts = {
|
|
indent = {
|
|
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,
|
|
},
|
|
},
|
|
}
|