lsp updates
This commit is contained in:
parent
9c3e8ec512
commit
3bf0f1e8e6
3 changed files with 43 additions and 24 deletions
|
|
@ -26,6 +26,21 @@ vim.lsp.config('basedpyright', {
|
||||||
settings = {
|
settings = {
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
analysis = {
|
analysis = {
|
||||||
|
|
||||||
|
diagnosticSeverityOverrides = {
|
||||||
|
reportAny = false,
|
||||||
|
reportOptionalOperand = "warning",
|
||||||
|
reportOptionalMemberAccess = false,
|
||||||
|
reportOptionalSubscript = false,
|
||||||
|
reportAttributeAccessIssue = false,
|
||||||
|
reportMissingTypeArgument = false,
|
||||||
|
reportMissingTypeStubs = false,
|
||||||
|
reportUnknownArgumentType = false,
|
||||||
|
reportUnknownMemberType = false,
|
||||||
|
reportUnknownParameterType = false,
|
||||||
|
reportUnknownVariableType = false,
|
||||||
|
reportUnusedCallResult = false,
|
||||||
|
},
|
||||||
autoSearchPaths = true,
|
autoSearchPaths = true,
|
||||||
useLibraryCodeForTypes = true,
|
useLibraryCodeForTypes = true,
|
||||||
diagnosticMode = 'openFilesOnly',
|
diagnosticMode = 'openFilesOnly',
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
vim.pack.add{"https://github.com/echasnovski/nvim-mini/mini.nvim"}
|
vim.pack.add{"https://github.com/nvim-mini/mini.nvim"}
|
||||||
|
|
||||||
require("mini.ai").setup()
|
require("mini.ai").setup()
|
||||||
require("mini.surround").setup()
|
require("mini.surround").setup()
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,8 @@
|
||||||
"src": "https://github.com/mason-org/mason.nvim"
|
"src": "https://github.com/mason-org/mason.nvim"
|
||||||
},
|
},
|
||||||
"mini.nvim": {
|
"mini.nvim": {
|
||||||
"rev": "6e885e4c27743ae6bf5957ea78ce86c032835f09",
|
"rev": "72b0194c56c984476c5975b62eb340fd1aa1686a",
|
||||||
"src": "https://github.com/echasnovski/mini.nvim"
|
"src": "https://github.com/nvim-mini/mini.nvim"
|
||||||
},
|
},
|
||||||
"nvim-dap": {
|
"nvim-dap": {
|
||||||
"rev": "5860c7c501eb428d3137ee22c522828d20cca0b3",
|
"rev": "5860c7c501eb428d3137ee22c522828d20cca0b3",
|
||||||
|
|
@ -92,6 +92,10 @@
|
||||||
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
|
"rev": "b9fd5226c2f76c951fc8ed5923d85e4de065e509",
|
||||||
"src": "https://github.com/nvim-lua/plenary.nvim"
|
"src": "https://github.com/nvim-lua/plenary.nvim"
|
||||||
},
|
},
|
||||||
|
"prettier.nvim": {
|
||||||
|
"rev": "ca6452de1accc68a1062e72f58679caa488b501a",
|
||||||
|
"src": "https://github.com/MunifTanjim/prettier.nvim"
|
||||||
|
},
|
||||||
"telescope.nvim": {
|
"telescope.nvim": {
|
||||||
"rev": "83a3a713d6b2d2a408491a1b959e55a7fa8678e8",
|
"rev": "83a3a713d6b2d2a408491a1b959e55a7fa8678e8",
|
||||||
"src": "https://github.com/nvim-telescope/telescope.nvim"
|
"src": "https://github.com/nvim-telescope/telescope.nvim"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue