Repository navigation
Deprecating builtins with unmaintained upstream or native LSP replacement #81
Replies: 167 comments 124 replies
|
I support this. Maybe create a 'legacy' branch so people can easily use an old version of the plugin if they rely on something that is due to be removed? |
|
This won't happen very soon without further notice. I guess we could add a notice on startup if users are using any of the deprecated builtins, and finally remove them, for likely 1 to 2 months later? Also, users could just copy & paste the builtins they use into their config, so I don't feel the very need to maintain a separate branch. |
This comment has been hidden.
This comment has been hidden.
|
Hi, for the unmaintained ones, what is the main motivation to remove them? Is it just out of caution, that they might break? I have contributed two diagnostics parsers (checkstyle and pmd), which I have last touched over two years ago, but they should still work. Outright removing them might not be the best idea. |
It's just for the upstream abandoned projects. pmd and checkstyle are all fine, since upstream actively maintains them :) |
|
Ah OK gotcha. I first understood that whether or not the builtins themselves are maintained or not is the deciding factor. I simply misread. In that case this sounds like a sensible idea. Carry on. 😀 |
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
|
there is a way that I can still keep using none-ls with eslit_d? really bad that you guys dropped something that work just fine |
|
where do I put this code? |
|
The value that I found in this plugin has always been that it was a one stop shop for setting up linting/formatting/code actions. That value has been completely eroded with this change and I'll be migrating off it as soon as possible. |
|
For anyone trying to reconfigure |
|
@mochaaP Did something change recently? I've lost access to locally installed |
|
my squad, and all other squads, have various configs setup for flake8, and all other standard formatters (black etc), right down to pre-commit hooks and various checks in CI. I use neovim and to see this being deprecated / removed is just abit irratating. Moving to ruff shouldn't be something that is forced upon people. |
|
I really appreciate this decision moving on with none-ls! Null-ls's downfall was the fact that it attempted to support EVERYTHING and the more it added the harder it became to maintain. I recommend for those, that still want to use removed sources, to provide an injection factory by use at your own risk but please don't open any issues on unmaintained sources. |
|
Null-LS also tried to maintain null-ls for earlier neovim versions. What is you stance on that? I personally don't think its necessary or even good for the health of none-ls to support old versions such as neovim 5. |
|
xmllint is a good linter. I do not want to install lemminx due to java dependency. |
The formatting/lua_format.lua uses Koihik/LuaFormatter which is different from stylua. |
|
mason-null-ls fork with support for none-ls external sources: https://github.com/Zeioth/none-ls-autoload.nvim |
|
My eslint diagnostics just completely stopped today, and I think that this is likely the reason why. I tried to adapt my configuration to the changes by doing the following: local null_ls_status_ok, null_ls = pcall(require, "null-ls")
if not null_ls_status_ok then
return
end
-- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting
local formatting = null_ls.builtins.formatting
-- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics
local diagnostics = null_ls.builtins.diagnostics
null_ls.setup({
debug = false,
sources = {
formatting.prettier.with({
extra_args = function(params)
if params.filetype == "ruby" then
return { "--config", "--plugin=@prettier/plugin-ruby" }
end
return {
"--config",
"--arrow-parens",
"avoid",
}
end,
extra_filetypes = { "ruby" },
}),
formatting.black.with({ extra_args = { "--fast" } }),
formatting.stylua,
formatting.sql_formatter,
formatting.golines,
formatting.gofmt,
formatting.shfmt,
diagnostics.rubocop,
require("none-ls.diagnostics.eslint"),
},
diagnostics_format = "[#{c}] #{m} (#{s})",
})I also got the following set up: use({ "nvimtools/none-ls.nvim", requires = {
"nvimtools/none-ls-extras.nvim",
} })
use({
"pmizio/typescript-tools.nvim",
requires = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" },
config = function()
require("typescript-tools").setup({})
end,
})Are there any other changes that need to occur here in order for my ESLint warnings to show up in my editor again? |
|
@mochaaP If you get a chance, I think RIP blue/none-ls 😢. |
|
Not found eslint-language-server in none-ls-extras.nvim |
|
How can I enable tlint ? |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Related projects:
I'm thinking of cleaning up some builtins with the following criteria:
Planned to remove (will keep updating):
edit history → #58 (comment)
[Expand] If you get confused on some entries:
[Expand] If you just wanted a way to suppress the warning:
All reactions