Skip to content

Commit

Permalink
ufo: change provider selector due to further conflicts with lsps
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Jun 16, 2024
1 parent 113abbb commit 34198d4
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions lua/nxvim/plugins/ufo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,8 @@ ufo.setup({
jumpBot = "]",
},
},
})
-- <== }

-- { == Events ==> ============================================================

nx.au({
"FileType",
pattern = { "markdown", "NeogitStatus" },
callback = function() ufo.detach() end,
---@diagnostic disable-next-line: unused-local
provider_selector = function(bufnr, filetype, buftype) return { "treesitter", "indent" } end,
})
-- <== }

Expand Down

0 comments on commit 34198d4

Please sign in to comment.