Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.02 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.02 KB

none-ls-jsonlint.nvim

jsonlint diagnostics source for none-ls.nvim.

this repository allows to keep using jsonlint with none-ls.nvim.

Note: This plugin is not intended to be used alone, it is a dependency of none-ls.nvim.

📦 Installation

This should be used as a dependency of none-ls.nvim.

{
  {
    "nvimtools/none-ls.nvim",
    dependencies = {
        "gwinn/none-ls-jsonlint.nvim",
    },
  },
}

Setup

Follow the steps in null-ls setup section.

local null_ls = require("null-ls")

null_ls.setup {
  sources = {
    require("none-ls-jsonlint.diagnostics.jsonlint"),
    ...
  }
}

Related projects

You can search for sources via the none-ls-sources topic.