feat(nvim): some language extras changes

This commit is contained in:
Sergio Laín 2025-06-08 21:26:24 +02:00
parent 42abe59383
commit 2b0da323af
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
4 changed files with 8 additions and 22 deletions

View file

@ -10,6 +10,7 @@ return {
},
{
"ray-x/go.nvim",
enabled = false,
dependencies = {
"ray-x/guihua.lua",
"neovim/nvim-lspconfig",

View file

@ -17,6 +17,13 @@ return {
basedpyright = {
analysis = {
diagnosticSeverityOverrides = {
reportMissingTypeStubs = "information", -- import has no type stub file
reportIgnoreCommentWithoutRule = "warning",
reportUnreachable = "error",
reportPrivateLocalImportUsage = "error",
reportImplicitRelativeImport = "error",
reportInvalidCast = "error",
reportMissingSuperCall = false,
reportUnusedCallResult = "information",
reportUnusedExpression = "information",
reportUnknownMemberType = "none",
@ -53,11 +60,6 @@ return {
},
},
},
[vim.g.lazyvim_python_ruff] = {
handlers = {
["textDocument/publishDiagnostics"] = function() end,
},
},
},
},
},
@ -76,13 +78,6 @@ return {
},
dependencies = {
{ "nvim-lua/plenary.nvim" },
{
"hrsh7th/nvim-cmp",
dependencies = {},
opts = function(_, opts)
table.insert(opts.sources, { name = "py-requirements" })
end,
},
},
opts = {},
-- stylua: ignore

View file

@ -75,12 +75,6 @@ return {
["scss"] = { stylelint },
["less"] = { stylelint },
["sugarss"] = { stylelint },
["vue"] = { stylelint },
["wxss"] = { stylelint },
["javascript"] = { stylelint },
["javascriptreact"] = { stylelint },
["typescript"] = { stylelint },
["typescriptreact"] = { stylelint },
})
return opts
end,

View file

@ -35,10 +35,6 @@ return {
},
},
},
{
"dmmulroy/ts-error-translator.nvim",
opts = {},
},
{
"luckasRanarison/nvim-devdocs",
optional = true,