feat(nvim): some language extras changes
This commit is contained in:
parent
42abe59383
commit
2b0da323af
4 changed files with 8 additions and 22 deletions
|
@ -10,6 +10,7 @@ return {
|
|||
},
|
||||
{
|
||||
"ray-x/go.nvim",
|
||||
enabled = false,
|
||||
dependencies = {
|
||||
"ray-x/guihua.lua",
|
||||
"neovim/nvim-lspconfig",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -35,10 +35,6 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"dmmulroy/ts-error-translator.nvim",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"luckasRanarison/nvim-devdocs",
|
||||
optional = true,
|
||||
|
|
Loading…
Add table
Reference in a new issue