mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-29 20:14:36 +02:00
docs(conform): conform condition example
This commit is contained in:
parent
8bcc241b72
commit
fb110e76d8
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ return {
|
|||
injected = { options = { ignore_errors = true } },
|
||||
-- -- Example of using dprint only when a dprint.json file is present
|
||||
-- dprint = {
|
||||
-- condition = function(self, ctx)
|
||||
-- condition = function(ctx)
|
||||
-- return vim.fs.find({ "dprint.json" }, { path = ctx.filename, upward = true })[1]
|
||||
-- end,
|
||||
-- },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue