From 8aa80b1201b186a9ba8be8cf54903b1b291941ab Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 3 Jul 2024 09:10:38 +0200 Subject: [PATCH 1/3] spell --- spell/en.utf-8.add | 3 +++ spell/en.utf-8.add.spl | Bin 4532 -> 4553 bytes 2 files changed, 3 insertions(+) diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index bb741a1..d4b686d 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -355,3 +355,6 @@ Houten Gabriella Inrgid Usecase +postgres +sqlite +REPL diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index e89444f78be9f9eda6104d0ac9d27b63880d35d4..4a6012e06d53d9bd7eeae7d477b02a1c6aa0fe0a 100644 GIT binary patch delta 146 zcmdm@d{UV&%+t5HAT=k)=syDk*S(E=4xBPf#U+fHj7dP81H>hasf@*pOahFI3{36m zlao2murV<*Fht}`HsD$)AefkxoSK%AnGKXJ%P%OL{D3Qf(P6V8H#Z{(P&*?7qk86K t8y+vl@X75wI~X@kcHq@y%-o#CE6m8ac5)q`GJ9_cP!(t8<`sNA%m72_CPn}N delta 109 zcmV-z0FwX7BeWw9R!L2BaAj<4GXDSo3e~X=KnVf?bCXdC6O(EQ%mD$DJPM%?5Mg3t zWoBq;YXJZPc5iT#?Fvu Date: Wed, 3 Jul 2024 09:13:17 +0200 Subject: [PATCH 2/3] fix deps for dap-ui --- lua/custom/plugins.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 3dd7802..46fa878 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -812,6 +812,7 @@ local plugins = { end, dependencies = { "mfussenegger/nvim-dap", + "nvim-neotest/nvim-nio", }, config = function(_, opts) local dap = require "dap" From ec903e7cd73d1907fc2efddf748f70e78c7c5444 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 3 Jul 2024 13:44:53 +0200 Subject: [PATCH 3/3] try to fix python fuck python --- lua/custom/configs/lspconfig.lua | 2 +- lua/custom/configs/lspsettings.lua | 17 +++++++++++++++++ lua/custom/configs/overrides.lua | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/lua/custom/configs/lspconfig.lua b/lua/custom/configs/lspconfig.lua index 7498a2a..bb70d1a 100644 --- a/lua/custom/configs/lspconfig.lua +++ b/lua/custom/configs/lspconfig.lua @@ -10,7 +10,6 @@ local servers = { "cssls", "tsserver", "clangd", - "pyright", "bashls", "cmake", "yamlls", @@ -29,6 +28,7 @@ local server_with_settings = { -- "textlsp", "ltex", "rust_analyzer", + "basedpyright", } for _, lsp in ipairs(server_with_settings) do diff --git a/lua/custom/configs/lspsettings.lua b/lua/custom/configs/lspsettings.lua index f1450ff..13286fb 100644 --- a/lua/custom/configs/lspsettings.lua +++ b/lua/custom/configs/lspsettings.lua @@ -3,6 +3,23 @@ local capabilities = require("plugins.configs.lspconfig").capabilities local M = {} +M.basedpyright = { + on_attach = on_attach, + capabilities = capabilities, + root_dir = vim.loop.cwd, + flags = { debounce_text_changes = 300 }, + single_file_support = true, + settings = { + python = { + analysis = { + autoSearchPaths = true, + diagnosticMode = "openFilesOnly", + useLibraryCodeForTypes = true, + typeCheckingMode = "basic", + }, + }, + }, +} M.rust_analyzer = { on_attach = on_attach, capabilities = capabilities, diff --git a/lua/custom/configs/overrides.lua b/lua/custom/configs/overrides.lua index 5226d76..7e0c3cf 100644 --- a/lua/custom/configs/overrides.lua +++ b/lua/custom/configs/overrides.lua @@ -43,7 +43,7 @@ M.mason = { "cmake-language-server", "rust-analyzer", "taplo", - "pyright", + "basedpyright", "shellcheck", "bash-language-server", "ltex-ls",