From 886d49eb89cc96dd8942182d4c3d87b252500831 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 29 Sep 2023 15:15:38 +0200 Subject: [PATCH] style: comment the selene example --- lua/lazyvim/plugins/extras/linting/nvim-lint.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/lazyvim/plugins/extras/linting/nvim-lint.lua b/lua/lazyvim/plugins/extras/linting/nvim-lint.lua index 46a00574..fd380c12 100644 --- a/lua/lazyvim/plugins/extras/linting/nvim-lint.lua +++ b/lua/lazyvim/plugins/extras/linting/nvim-lint.lua @@ -14,13 +14,13 @@ return { ---@type 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)