From b04e3587985cfdd92786f1b7f1a2f4062a187568 Mon Sep 17 00:00:00 2001
From: NotAShelf
vim.diagnostics.nvim-lint.setupOpts
+ vim.diagnostics.nvim-lint.linters_by_ft
Option table to pass into the setup function of nvim-lint
You can pass in any additional options even if they’re -not listed in the docs
- -Type: -anything
- -Default:
-{ }
Declared by:
-
-
-<nvf/modules/plugins/diagnostics/nvim-lint/nvim-lint.nix>
-
- |
vim.diagnostics.nvim-lint.setupOpts.linters_by_ft
-
-
-Map of filetype to formatters. This option takes a set of
-key = value format where the value will be converted
-to its Lua equivalent. You are responsible for passing the
-correct Nix data types to generate a correct Lua value that
-conform is able to accept.
Map of filetype to formatters. This option takes a set of key = value
+format where the value will be converted to its Lua equivalent
+through `toLuaObject. You are responsible for passing the correct Nix
+data types to generate a correct Lua value that conform is able to
+accept.
Type: attribute set of list of string