mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
Update modules/plugins/diagnostics/nvim-lint/config.nix
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
This commit is contained in:
parent
5c3a90e3f6
commit
f4ee6a275f
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ in {
|
||||||
|
|
||||||
-- if no configuration files are configured, lint
|
-- if no configuration files are configured, lint
|
||||||
if cwd == nil then
|
if cwd == nil then
|
||||||
require("lint").try_lint(name)
|
require("lint").lint(linter)
|
||||||
else
|
else
|
||||||
-- if configuration files are configured and present in the project, lint
|
-- if configuration files are configured and present in the project, lint
|
||||||
for _, fn in ipairs(cwd) do
|
for _, fn in ipairs(cwd) do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue