Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gbprod/none-ls-luacheck.nvim
- Owner: gbprod
- License: wtfpl
- Created: 2024-01-30T09:43:52.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T08:22:05.000Z (8 months ago)
- Last Synced: 2024-03-19T09:36:59.339Z (8 months ago)
- Topics: lua, luacheck, neovim, neovim-plugin, none-ls, none-ls-sources, null-ls, null-ls-sources, nvim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
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).