Skip to content

Commit

Permalink
ufo: add filetype exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Dec 29, 2024
1 parent 18824a1 commit e1247f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/nxvim/plugins/ufo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ ufo.setup({
},
},
enable_get_fold_virt_text = false,
provider_selector = function(bufnr, filetype, buftype)
for _, type in ipairs({ "markdown", "NeogitStatus" }) do
if filetype == type then return "" end
end
end,
})
-- ]

Expand Down

0 comments on commit e1247f1

Please sign in to comment.