From 6d4aac9bf4f6e893ade43c7439c43d129c1adaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Wed, 3 May 2023 16:28:59 +0200 Subject: [PATCH] fix TOTP --- awesome/keys.lua | 2 +- nvim/lua/lsp_config.lua | 9 ++++++++- nvim/spell/ltex.dictionary.en-GB.txt | 8 ++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/awesome/keys.lua b/awesome/keys.lua index 2b7098e..9910d6b 100644 --- a/awesome/keys.lua +++ b/awesome/keys.lua @@ -147,7 +147,7 @@ keys.globalkeys = gears.table.join( -- Generate IMEC TOTP awful.key({modkey}, "i", function() - awful.spawn.with_shell("ykman oath accounts code \"Microsoft (IMEC)\" | cut -d ' ' -f 5 | xsel --clipboard") + awful.spawn.with_shell("ykman oath accounts code \"Microsoft (IMEC)\" | cut -d ' ' -f 4 | xsel --clipboard") end, {description = "Generate IMEC TOTP", group = "launcher"} ), diff --git a/nvim/lua/lsp_config.lua b/nvim/lua/lsp_config.lua index 63f3c61..2ef7732 100644 --- a/nvim/lua/lsp_config.lua +++ b/nvim/lua/lsp_config.lua @@ -96,7 +96,14 @@ require("mason-lspconfig").setup { } require('lspconfig').pyright.setup { - capabilities = capabilities + capabilities = capabilities, + settings = { + python = { + analysis = { + typeCheckingMode = "off" + } + } + } } require('lspconfig').texlab.setup { diff --git a/nvim/spell/ltex.dictionary.en-GB.txt b/nvim/spell/ltex.dictionary.en-GB.txt index a11c048..2bce5f2 100644 --- a/nvim/spell/ltex.dictionary.en-GB.txt +++ b/nvim/spell/ltex.dictionary.en-GB.txt @@ -33,3 +33,11 @@ artifacts stochasticity playthrough StateManager +defult +subclassing +spacebar +Latré +requantizing +rvalue +POMDPs +DQNs