|
@@ -1,5 +1,7 @@
|
|
|
--type conform.options
|
|
|
local options = {
|
|
|
+ ft_ignore = { "neorg", "markdown", "json" },
|
|
|
+
|
|
|
sections = {
|
|
|
left = {
|
|
|
--function() return string.rep('+', vim.v.foldlevel) end,
|
|
@@ -42,10 +44,6 @@ local options = {
|
|
|
"#", -- python and bash comments
|
|
|
"--", -- lua comment
|
|
|
"//", -- c languages comment
|
|
|
- "## region",
|
|
|
- "## endregion",
|
|
|
- -- not working (err in init.lua, line 78)
|
|
|
- --{ "/*", "*/" },
|
|
|
},
|
|
|
|
|
|
-- list of patterns that will be removed from content foldtext section.
|
|
@@ -61,8 +59,6 @@ local options = {
|
|
|
{ "%(", ")" }, -- % to escape lua pattern char
|
|
|
{ "%[", "]" }, -- % to escape lua pattern char
|
|
|
},
|
|
|
-
|
|
|
- ft_ignore = { "neorg", "md", "json" },
|
|
|
}
|
|
|
|
|
|
require("pretty-fold").setup(options)
|