gbprod / none-ls-luacheck.nvim Goto Github PK
View Code? Open in Web Editor NEWLuacheck diagnostics source for none-ls.nvim
License: Do What The F*ck You Want To Public License
Luacheck diagnostics source for none-ls.nvim
License: Do What The F*ck You Want To Public License
the none_ls.builtins.diagnostics.luacheck.with({
was not working even when following this website's README.
seems like
sources = {
...
require("none-ls-luacheck.diagnostics.luacheck").with({
extra_args = { '--ignore 21/_.*' }
}),
}
does the deed
@gbprod suggestion:
Let's say currently, I want to load all your external sources using none-ls-autoload.nvim.
{
"zeioth/none-ls-autoload.nvim",
event = "BufEnter",
dependencies = {
"williamboman/mason.nvim",
"nvimtools/none-ls-extras.nvim", -- To install external sources from a repo.
"gbprod/none-ls-shellcheck.nvim",
"gbprod/none-ls-luacheck.nvim",
"gbprod/none-ls-php.nvim",
"gbprod/none-ls-psalm.nvim",
"gbprod/none-ls-ecs.nvim"
},
opts = {
external_sources = { -- To indicate where to find a external source.
-- diagnostics
'none-ls-shellcheck.diagnostics',
'none-ls-luacheck.diagnostics.luacheck',
'none-ls-php.diagnostics.php',
'none-ls-psalm.diagnostics',
-- formatting
'none-ls-ecs.formatting',
},
},
},
We can observe:
package_name.method.mason_package_name
.Instead, the directory structure should be conventional like this
'gbprob-none-ls.diagnostics.shellcheck',
'gbprob-none-ls.diagnostics.luacheck',
'gbprob-none-ls.diagnostics.php,
'gbprob-none-ls.diagnostics.psalm',
-- formatting
'gbprob-external-sources.formatting.ecs',
Otherwise none-ls-autoload
(or any other plugin) won't be able to load it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.