[init.lua] Disable pyright and python_recommended_style = 0 (respects tabstops, etc)

This commit is contained in:
ahmedsamyh 2025-04-11 17:35:56 +05:00
parent 481ad45bf1
commit 1d45ed4244
1 changed files with 5 additions and 3 deletions

View File

@ -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', '<leader>bd', ':bd<CR>')
vim.keymap.set('n', '<leader>bD', ':bd!<CR>')
vim.keymap.set('n', '<leader>bc', ':close<CR>')