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",
|
"ray-x/go.nvim",
|
||||||
|
enabled = false,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"ray-x/guihua.lua",
|
"ray-x/guihua.lua",
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
|
|
@ -17,6 +17,13 @@ return {
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
analysis = {
|
analysis = {
|
||||||
diagnosticSeverityOverrides = {
|
diagnosticSeverityOverrides = {
|
||||||
|
reportMissingTypeStubs = "information", -- import has no type stub file
|
||||||
|
reportIgnoreCommentWithoutRule = "warning",
|
||||||
|
reportUnreachable = "error",
|
||||||
|
reportPrivateLocalImportUsage = "error",
|
||||||
|
reportImplicitRelativeImport = "error",
|
||||||
|
reportInvalidCast = "error",
|
||||||
|
reportMissingSuperCall = false,
|
||||||
reportUnusedCallResult = "information",
|
reportUnusedCallResult = "information",
|
||||||
reportUnusedExpression = "information",
|
reportUnusedExpression = "information",
|
||||||
reportUnknownMemberType = "none",
|
reportUnknownMemberType = "none",
|
||||||
|
@ -53,11 +60,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[vim.g.lazyvim_python_ruff] = {
|
|
||||||
handlers = {
|
|
||||||
["textDocument/publishDiagnostics"] = function() end,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -76,13 +78,6 @@ return {
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "nvim-lua/plenary.nvim" },
|
{ "nvim-lua/plenary.nvim" },
|
||||||
{
|
|
||||||
"hrsh7th/nvim-cmp",
|
|
||||||
dependencies = {},
|
|
||||||
opts = function(_, opts)
|
|
||||||
table.insert(opts.sources, { name = "py-requirements" })
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
opts = {},
|
opts = {},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
|
|
|
@ -75,12 +75,6 @@ return {
|
||||||
["scss"] = { stylelint },
|
["scss"] = { stylelint },
|
||||||
["less"] = { stylelint },
|
["less"] = { stylelint },
|
||||||
["sugarss"] = { stylelint },
|
["sugarss"] = { stylelint },
|
||||||
["vue"] = { stylelint },
|
|
||||||
["wxss"] = { stylelint },
|
|
||||||
["javascript"] = { stylelint },
|
|
||||||
["javascriptreact"] = { stylelint },
|
|
||||||
["typescript"] = { stylelint },
|
|
||||||
["typescriptreact"] = { stylelint },
|
|
||||||
})
|
})
|
||||||
return opts
|
return opts
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -35,10 +35,6 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"dmmulroy/ts-error-translator.nvim",
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"luckasRanarison/nvim-devdocs",
|
"luckasRanarison/nvim-devdocs",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue