From d93425cec0eb8dc8d7c36563f15fb51414e73e7c Mon Sep 17 00:00:00 2001 From: "asep.komarudin" Date: Wed, 26 Jun 2024 20:26:53 +0700 Subject: [PATCH] add: nvimlint remark mapping --- lua/plugins/nvimlint.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/plugins/nvimlint.lua b/lua/plugins/nvimlint.lua index 5730a76..232059c 100644 --- a/lua/plugins/nvimlint.lua +++ b/lua/plugins/nvimlint.lua @@ -13,7 +13,7 @@ return { ["c#"] = "cs", } - -- add dif conform vs mason + -- add dif nvim-lint vs mason local name_map = { ["actionlint"] = "actionlint", ["ansible_lint"] = "ansible_lint", @@ -70,9 +70,9 @@ return { for _, pkg in pairs(mason_reg.get_installed_packages()) do for _, type in pairs(pkg.spec.categories) do - -- only act upon a formatter + -- only act upon a Linter if type == "Linter" then - -- finally add the formatter to it's compatible filetype(s) + -- finally add the linter to it's compatible filetype(s) for _, ft in pairs(pkg.spec.languages) do local ftl = string.lower(ft) local ready = mason_reg.get_package(pkg.spec.name):is_installed()