style: comment the selene example
This commit is contained in:
@ -14,13 +14,13 @@ return {
|
||||
---@type table<string,table>
|
||||
linter_opts = {
|
||||
-- -- Example of using selene only when a selene.toml file is present
|
||||
selene = {
|
||||
-- `condition` is another LazyVim extension that allows you to
|
||||
-- dynamically enable/disable linters based on the context.
|
||||
condition = function(ctx)
|
||||
return vim.fs.find({ "selene.toml" }, { path = ctx.filename, upward = true })[1]
|
||||
end,
|
||||
},
|
||||
-- selene = {
|
||||
-- -- `condition` is another LazyVim extension that allows you to
|
||||
-- -- dynamically enable/disable linters based on the context.
|
||||
-- condition = function(ctx)
|
||||
-- return vim.fs.find({ "selene.toml" }, { path = ctx.filename, upward = true })[1]
|
||||
-- end,
|
||||
-- },
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
|
Reference in New Issue
Block a user