Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gbprod/none-ls-luacheck.nvim

Luacheck diagnostics source for none-ls.nvim
https://github.com/gbprod/none-ls-luacheck.nvim

lua luacheck neovim neovim-plugin none-ls none-ls-sources null-ls null-ls-sources nvim nvim-plugin

Last synced: 16 days ago
JSON representation

Luacheck diagnostics source for none-ls.nvim

Awesome Lists containing this project

README

        

# none-ls-luacheck.nvim

[Luacheck](https://github.com/mpeterv/luacheck) diagnostics source for [none-ls.nvim](https://github.com/nvimtools/none-ls.nvim).

Since this diagnostic was deprecated from [none-ls.nvim](https://github.com/nvimtools/none-ls.nvim)
(see [this issue](https://github.com/nvimtools/none-ls.nvim/issues/58)) because [selene](https://github.com/Kampfkarren/selene) is a better alternative,
this repository allows to keep using [Luacheck](https://github.com/mpeterv/luacheck) with [none-ls.nvim](https://github.com/nvimtools/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**.

### [lazy.nvim](https://github.com/folke/lazy.nvim)

```lua
{
{
"nvimtools/none-ls.nvim",
dependencies = {
"gbprod/none-ls-luacheck.nvim",
},
},
}
```

## Setup

Follow the steps in null-ls [setup](https://github.com/nvimtools/none-ls.nvim?tab=readme-ov-file#setup) section.

```lua
local null_ls = require("null-ls")

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

## Related projects

You can search for sources via the [`none-ls-sources` topic](https://github.com/topics/none-ls-sources).