From 2d44bb51912b4597a4f86b39d461f2f64a557e17 Mon Sep 17 00:00:00 2001 From: isandesh7 Date: Tue, 3 Sep 2024 11:08:24 -0700 Subject: [PATCH] fix: use lint local instead of requrie('lint') --- .config/nvim/lua/josean/plugins/linting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/josean/plugins/linting.lua b/.config/nvim/lua/josean/plugins/linting.lua index 25b3db4..823755c 100644 --- a/.config/nvim/lua/josean/plugins/linting.lua +++ b/.config/nvim/lua/josean/plugins/linting.lua @@ -26,7 +26,7 @@ return { lint.try_lint() end, { desc = "Trigger linting for current file" }) - require('lint').linters.pylint.cmd = 'python' - require('lint').linters.pylint.args = {'-m', 'pylint', '-f', 'json'} + lint.linters.pylint.cmd = 'python' + lint.linters.pylint.args = {'-m', 'pylint', '-f', 'json'} end, }