remove(nvim): lsp rust extra code removed because of recent change in the lazyvim extra
This commit is contained in:
1 parent
f28cc5a7ec
commit
75e52b850b
13 files changed
+69
-381
No files matched your search
@@ -0,0 +1,26 @@
|
||||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "selene" })
|
||||
end,
|
||||
},
|
||||
{
|
||||
"mfussenegger/nvim-lint",
|
||||
opts = function(_, opts)
|
||||
opts.linters_by_ft.lua = opts.linters_by_ft.lua or {}
|
||||
table.insert(opts.linters_by_ft.lua, "selene")
|
||||
|
||||
opts.linters = {
|
||||
selene = {
|
||||
condition = function(ctx)
|
||||
return vim.fs.find({ "selene.toml" }, { path = ctx.filename, upward = true })[1]
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user