From 1d45ed4244126c269e9c1a92665a016abfaffccd Mon Sep 17 00:00:00 2001 From: ahmedsamyh Date: Fri, 11 Apr 2025 17:35:56 +0500 Subject: [PATCH] [init.lua] Disable pyright and python_recommended_style = 0 (respects tabstops, etc) --- init.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 1121a449..6611d9a4 100644 --- a/init.lua +++ b/init.lua @@ -997,9 +997,9 @@ require('colorizer').setup() local lspconfig = require 'lspconfig' -lspconfig['pyright'].setup { - trace = 'verbose', -} +-- lspconfig['pyright'].setup { +-- trace = 'verbose', +-- } require('lspconfig').texlab.setup {} @@ -1054,6 +1054,8 @@ vim.opt.tabstop = 4 vim.opt.expandtab = true vim.opt.shiftwidth = 4 +vim.g.python_recommended_style = 0 + vim.keymap.set('n', 'bd', ':bd') vim.keymap.set('n', 'bD', ':bd!') vim.keymap.set('n', 'bc', ':close')